libgeda: Remove redundant checks against NULL in s_encoding.c
commit9f1b2f33fdf5bd34364a483f5e6d7e3d0d5467cf
authorGareth Edwards <gareth@edwardsfamily.org.uk>
Mon, 19 Mar 2012 20:54:37 +0000 (19 20:54 +0000)
committerGareth Edwards <gareth@edwardsfamily.org.uk>
Thu, 1 Nov 2012 21:10:14 +0000 (1 21:10 +0000)
treeaa79c663f66157798d4c2528b515990bb39bba8e
parent2785512894fdd73836a99941467a8dbb4c105269
libgeda: Remove redundant checks against NULL in s_encoding.c

The variable dst can't be NULL (g_new() will terminate on error) so there is
no reason to repeatedly check it against NULL. Remove the checks.

Coverity-ID: 201596

Closes-bug: lp-959702
libgeda/src/s_encoding.c