Bug 3886 - utils/eventlogadm.c: "srcname", "eventlogname" set but never used
utils/eventlogadm.c: "srcname", "eventlogname" set but never used
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.23
SGI IRIX
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-28 12:04 UTC by Jason Mader
Modified: 2006-06-28 13:56 UTC (History)
0 users

See Also:


Attachments
Delete use of "srcname" and "eventlogname" (957 bytes, patch)
2006-06-28 12:18 UTC, Jason Mader
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mader 2006-06-28 12:04:16 UTC
--- utils/eventlogadm.o ---
cc-1552 c99: WARNING File = utils/eventlogadm.c, Line = 164
  The variable "srcname" is set but never used.

        char *srcname, *eventlogname;
              ^

cc-1552 c99: WARNING File = utils/eventlogadm.c, Line = 164
  The variable "eventlogname" is set but never used.

        char *srcname, *eventlogname;
                        ^
Comment 1 Jason Mader 2006-06-28 12:18:01 UTC
Created attachment 1994 [details]
Delete use of "srcname" and "eventlogname"

I also saw that a use of argv[0] could be changed to exename to be consistent with the rest of the routine.
Comment 2 Jeremy Allison 2006-06-28 13:56:53 UTC
Fixed thanks !
Jeremy.