From Sebastien Tandel:

(Fixing warnings)

stripped away some unused variables/parameters
+ in prefs.c
    suggestion of parentheses makes gcc happy


svn path=/trunk/; revision=21156
This commit is contained in:
Stephen Fisher 2007-03-23 18:45:21 +00:00
parent 8973617e4b
commit 64cc1b407c
4 changed files with 3 additions and 5 deletions

View File

@ -113,7 +113,6 @@ static int hf_uma_urr_gci = -1;
static int hf_uma_urr_tura = -1;
static int hf_uma_urr_gc = -1;
static int hf_uma_urr_uc = -1;
static int hf_uma_urr_tlra = -1;
static int hf_uma_urr_rrs = -1;
static int hf_uma_urr_IP_Address_type = -1;
static int hf_uma_urr_FQDN = -1;

View File

@ -1864,7 +1864,7 @@ static const true_false_string tfs_ace_flags_failed_access = {
static int
dissect_nt_ace_object(tvbuff_t *tvb, int offset, proto_tree *parent_tree, packet_info *pinfo, guint8 *drep)
dissect_nt_ace_object(tvbuff_t *tvb, int offset, proto_tree *parent_tree)
{
proto_item *item = NULL;
proto_tree *tree = NULL;
@ -2035,7 +2035,7 @@ dissect_nt_v2_ace(tvbuff_t *tvb, int offset, packet_info *pinfo,
case ACE_TYPE_ACCESS_DENIED_OBJECT:
case ACE_TYPE_SYSTEM_AUDIT_OBJECT:
case ACE_TYPE_SYSTEM_ALARM_OBJECT:
offset=dissect_nt_ace_object(tvb, offset, tree, pinfo, drep);
offset=dissect_nt_ace_object(tvb, offset, tree);
}
/* SID */

View File

@ -168,7 +168,7 @@ prefs_register_module_or_subtree(module_t *parent, const char *name,
guchar c;
/* this module may have been created as a subtree item previously */
if(module = find_subtree(parent, title)) {
if((module = find_subtree(parent, title))) {
/* the module is currently a subtree */
module->name = name;
module->apply_cb = apply_cb;

View File

@ -201,7 +201,6 @@ static void gtk_vumeter_size_calculate (GtkWidget *widget, GtkRequisition *requi
/* iterate through scale items to get the highest scale item */
for (current = vumeter->scale_items; current != NULL; current = g_list_next(current)) {
GtkVUMeterScaleItem * item = current->data;
int scale_level = gtk_vumeter_sound_level_to_draw_level (vumeter, item->level);
pitches++;