Update code that assumed a dictionary's encoding could be NULL.
authorBen Pfaff <blp@cs.stanford.edu>
Thu, 16 Jun 2011 06:08:13 +0000 (23:08 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Thu, 16 Jun 2011 06:13:31 +0000 (23:13 -0700)
commitbb0bebf8612a24fc5b58d0a85ff90ddb6d3f9e7a
tree090c637168317b1afab5d3751ccfe21c897152e4
parent8a2da340e85f70ce9449554ba42729a56277c24b
Update code that assumed a dictionary's encoding could be NULL.

Until recently, I think, it was possible for dict_get_encoding()
to return NULL.  It is no longer possible as far as I can see,
so this commit adds a comment that says so to the definition
of dict_get_encoding().  It also updates a few callers that
had checks for null pointers.
src/data/csv-file-writer.c
src/data/dictionary.c
src/data/sys-file-writer.c
src/language/dictionary/sys-file-info.c