kalibera / rchk

102 stars 10 forks source link

Warnings compiling rchk #19

Closed mattdowle closed 5 years ago

mattdowle commented 5 years ago
guards.cpp: In function ‘std::__cxx11::string igs_name(IntGuardState)’:
guards.cpp:101:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
guards.cpp: In function ‘std::__cxx11::string sgs_name(SEXPGuardTy&)’:
guards.cpp:431:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
$ g++ -v
gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04)
kalibera commented 5 years ago

Thanks, handled now (they are benign but indeed better to avoid them).