HomePhabricator

options: Avoid needless assignment as reported by csbuild

Authored by Jakuje on Dec 16 2019, 4:32 PM.

Description

options: Avoid needless assignment as reported by csbuild

The error was

src/options.c:971:13: warning: Value stored to 'u' is never read

  1. u = 0;
  2. ^ ~ src/options.c:971:13: note: Value stored to 'u' is never read
  3. u = 0;
  4. ^ ~
  5. 969| case SSH_OPTIONS_KBDINT_AUTH:
  6. 970| case SSH_OPTIONS_GSSAPI_AUTH:
  7. 971|-> u = 0;
  8. 972| if (value == NULL) {
  9. 973| ssh_set_error_invalid(session);

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>

Details

Committed
asnDec 23 2019, 2:31 PM
Parents
rLIBSSH8eda4165cf43: tests: Do not require strict host key checking in openssh
Branches
Unknown
Tags
Unknown