Changeset 98d6b744 for libcfa/src


Ignore:
Timestamp:
Aug 31, 2021, 1:49:09 AM (3 years ago)
Author:
Jacob Prud'homme <jafprudhomme@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
Children:
02a22a2
Parents:
52c6891
git-author:
Jacob Prud'homme <jafprudhomme@…> (07/23/21 16:28:56)
git-committer:
Jacob Prud'homme <jafprudhomme@…> (08/31/21 01:49:09)
Message:

Removed warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/parseconfig.cfa

    r52c6891 r98d6b744  
    7474
    7575                while () {
    76                         char * key;
    77                         char * value;
     76                        char * key = 0p;
     77                        char * value = 0p;
    7878                  if ( comments( in, key ) ) break;                     // eof ?
    7979                        // Should we just overwrite duplicate config entries? Having a hash map would make this much easier
     
    111111
    112112                                // Validate the parsed data, if necessary
    113                                 if ( entries[j].validate != 0p ) {
     113                                if ( entries[j].validate != (bool (*)(void *))0p ) {
    114114                                        if ( !entries[j].validate( entries[j].variable ) ) throwValidation_Failure( entries[j] );
    115115                                }
Note: See TracChangeset for help on using the changeset viewer.