Compile error 'value' may be used uninitialized

Problem: When using a hash in a codec model, code generated for "C"
errors with 'value' may be used uninitialized in this function.

Solution: Simply initialize value to NULL.