Bug 3890 - registry/reg_perfcount.c: "last_counter", "retval" set but never used
Summary: registry/reg_perfcount.c: "last_counter", "retval" 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 14:23 UTC by Jason Mader (mail bounces back)
Modified: 2006-06-28 16:38 UTC (History)
0 users

See Also:


Attachments

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 14:23:30 UTC
--- registry/reg_perfcount.o ---
cc-1552 c99: WARNING File = registry/reg_perfcount.c, Line = 1034
  The variable "last_counter" is set but never used.

        uint32 buffer_size = 0, last_counter;
                                ^

cc-1552 c99: WARNING File = registry/reg_perfcount.c, Line = 1037
  The variable "retval" is set but never used.

        int retval;
            ^
Comment 1 Jeremy Allison 2006-06-28 16:38:49 UTC
Fixed thanks !
Jeremy.