diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-05-06 07:21:03 (GMT) |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-05-06 12:54:06 (GMT) |
commit | 9fd40c5a66be0b0a5d65362ec139968ba6d1f412 (patch) | |
tree | 60a6aef3e99075dd1215e349f4115424708bc82f /fs/file.c | |
parent | 9f415eb25574db4b73a9a712a4438e41dc284922 (diff) | |
download | linux-9fd40c5a66be0b0a5d65362ec139968ba6d1f412.tar.xz |
SUNRPC: Refactor gssx_dec_option_array() to kill uninitialized warning
net/sunrpc/auth_gss/gss_rpc_xdr.c: In function ‘gssx_dec_option_array’:
net/sunrpc/auth_gss/gss_rpc_xdr.c:258: warning: ‘creds’ may be used uninitialized in this function
Return early if count is zero, to make it clearer to the compiler (and the
casual reviewer) that no more processing is done.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions