NULL is a pointer value; routines returning integral values shouldn't

return NULL.

svn path=/trunk/; revision=21613
This commit is contained in:
Guy Harris 2007-04-28 22:01:27 +00:00
parent 706a028996
commit ed652180e6
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}