The Samba-Bugzilla – Bug 2113
rpc_parse/parse_lsa.c: 'start' dead code
Last modified: 2005-02-08 06:28:59 UTC
In rpc_parse/parse_lsa.c lines 217 and 225 involved the variable 'start' can either be removed or moved
into the #idef 0 block later in the function where the 'start' variable might be used.
Actually, it looks like line 217 'uint32 start;' could be moved to just before line 224 'start =
prs_offset(ps);' and those should be #if 0 out like the later section that actually uses the start variable.
Created attachment 923 [details]
#if 0 'start' dead code
Sorry - your patch won't work with all compilers. GCC supports variable
declarations after statements but this isn't the case with all (any?) vendor