(Fixing warnings)
stripped away some unused variables/parameters
+ in prefs.c
suggestion of parentheses makes gcc happy
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21156
f5534014-38df-0310-8fa8-
9805f1628bb7
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;
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;
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 */
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;
/* 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++;