val_labs_equal: Accept null pointers
authorJohn Darrington <john@darrington.wattle.id.au>
Tue, 24 Apr 2012 19:14:17 +0000 (21:14 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 24 Apr 2012 19:14:17 +0000 (21:14 +0200)
commit3a03985ae49e050f97e103f7cc0c5546dfa5d80c
tree6a959e75e1c947643c46680d1775e8285a515387
parentb03ff6adc04a5b79617c4fa386c424f994a18bfe
val_labs_equal: Accept null pointers

Instead of checking for NULL before calling val_labs_equal, put the onus
on the function itself to deal with null pointers and behave appropriately.
src/data/value-labels.c
src/ui/gui/psppire-value-entry.c