Menu

#1520 Misc. compile warnings in new simulator

2.15.0
closed-fixed
3
2010-06-14
2010-06-12
No

A recent compile generated the following warnings on my x86-based system:

new_sim_file.cpp:672: warning: 'field' may be used uninitialized in this function
new_sim_file_dimi.cpp:582: warning: 'field' may be used uninitialized in this function
new_sim_file_dimi.cpp:512: warning: 'field' may be used uninitialized in this function
new_sim_dimi.cpp:259: warning: the address of 'param' will never be NULL

This is with svn revision 7099, gcc 4.3.4

Discussion

  • Lars Wetzel

    Lars Wetzel - 2010-06-13

    I didn't see the issue with my gcc version (4.0.3). So I fixed it without having the ability to check it with gcc. Please close the issue after verification.
    Thx.
    rev. 7101

     
  • Lars Wetzel

    Lars Wetzel - 2010-06-13
    • status: open --> open-fixed
     
  • Bryan Sutula

    Bryan Sutula - 2010-06-14

    Looks good now, Lars. Closing.

     
  • Bryan Sutula

    Bryan Sutula - 2010-06-14
    • status: open-fixed --> closed-fixed
     
MongoDB Logo MongoDB