Bug 3886 - utils/eventlogadm.c: "srcname", "eventlogname" set but never used
Summary: utils/eventlogadm.c: "srcname", "eventlogname" set but never used
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.23
Hardware: SGI IRIX
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-28 12:04 UTC by Jason Mader (mail bounces back)
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 (mail bounces back)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mader (mail bounces back) 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 (mail bounces back) 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.