NULL is a pointer value; routines returning integral values shouldn't
return NULL. svn path=/trunk/; revision=21613
This commit is contained in:
parent
706a028996
commit
ed652180e6
|
@ -1553,7 +1553,7 @@ tvb_get_bits(tvbuff_t *tvb, gint bit_offset, gint no_of_bits, gboolean little_en
|
|||
break;
|
||||
default:
|
||||
DISSECTOR_ASSERT_NOT_REACHED();
|
||||
return NULL;
|
||||
return 0;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue