Bug 762836 (GLUSTER-1104) - clang errors in the file client-handshake.c from new protocol
Summary: clang errors in the file client-handshake.c from new protocol
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-1104
Product: GlusterFS
Classification: Community
Component: protocol
Version: 3.1-alpha
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-15 11:08 UTC by Raghavendra Bhat
Modified: 2015-12-01 16:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Raghavendra Bhat 2010-07-15 11:08:29 UTC
clang has reported the following errors to be present in the file 
client-handshake.c from the new protocol:


Logic error  Result of operation is garbage or undefined  xlators/protocol/client/src/client-handshake.c  341  2	 
Dead store  Dead assignment  xlators/protocol/client/src/client-handshake.c  456  1	 
Dead store  Dead assignment  xlators/protocol/client/src/client-handshake.c  393  1	 
Dead store  Dead assignment  xlators/protocol/client/src/client-handshake.c  562  1	 
Dead store  Dead assignment  xlators/protocol/client/src/client-handshake.c  134  1	 
Dead store  Dead assignment  xlators/protocol/client/src/client-handshake.c  256  1	 
Dead store  Dead assignment  xlators/protocol/client/src/client-handshake.c  188  1	 
Dead store  Dead assignment  xlators/protocol/client/src/client-handshake.c  560  1	 
Dead store  Dead assignment  xlators/protocol/client/src/client-handshake.c  453  1	 
Dead store  Dead assignment  xlators/protocol/client/src/client-handshake.c  386  1	 
Dead store  Dead assignment  xlators/protocol/client/src/client-handshake.c  446  1	 


the total report of all the files can be found in the url:
http://dev.gluster.com/~raghavendrabhat/2010-07-14-1/

Comment 1 Amar Tumballi 2010-07-28 07:43:23 UTC
with commit http://git.gluster.com/?p=glusterfs.git;a=commit;h=550cdfbcf2a5300c926f87403e12f19424bffeac (http://patches.gluster.com/patch/3942/) this bug is fixed. verified by running clang with/without patch.


Note You need to log in before you can comment on or make changes to this bug.