summaryrefslogtreecommitdiff
path: root/lib/ntdb/LICENSE
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-08-19 22:36:02 +0200
committerJeremy Allison <jra@samba.org>2013-08-20 00:52:36 +0200
commit4f96d5753ffe6c446c46676ba31cd2a3722890a0 (patch)
tree9266bd0180e58ce662f0f24b61e4c6590e2d5b19 /lib/ntdb/LICENSE
parent74829fecd7a4e806ee441cd75141bede2eefef1a (diff)
downloadsamba-4f96d5753ffe6c446c46676ba31cd2a3722890a0.tar.gz
samba-4f96d5753ffe6c446c46676ba31cd2a3722890a0.tar.bz2
samba-4f96d5753ffe6c446c46676ba31cd2a3722890a0.zip
libsmb: Fix a bunch of Coverity IDs
(fnum != -1) is always true, even if fnum=-1 was initialized. fnum is a uint16, and the comparison first casts this to 65535, which is always != -1. Also change the initialization to make it clearer what is happening here. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Aug 20 00:52:36 CEST 2013 on sn-devel-104
Diffstat (limited to 'lib/ntdb/LICENSE')
0 files changed, 0 insertions, 0 deletions