getcifsacl: remove some dead code
authorJeff Layton <jlayton@samba.org>
Wed, 9 Oct 2013 12:14:21 +0000 (08:14 -0400)
committerJeff Layton <jlayton@samba.org>
Thu, 10 Oct 2013 12:26:21 +0000 (08:26 -0400)
commit930b724e784c28bd1b3024f7fc6ca24cdac82a4d
tree26f25c51842807314b46d59953fdd5f961fb60c4
parent99d2a5a4517216a63cfdeef3ee30656938b3a98e
getcifsacl: remove some dead code

Coverity says:

Error: DEADCODE (CWE-561): [#def5]
cifs-utils-6.2/getcifsacl.c:101: assignment: Assigning: "mflags" = "false".
cifs-utils-6.2/getcifsacl.c:109: const: At condition "mflags", the value of "mflags" must be equal to 0.
cifs-utils-6.2/getcifsacl.c:109: dead_error_condition: The condition "mflags" cannot be true.
cifs-utils-6.2/getcifsacl.c:110: dead_error_line: Execution cannot reach this statement "printf("|");".

Acked-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Signed-off-by: Jeff Layton <jlayton@samba.org>
getcifsacl.c