[torquedev] Compilation warning

Simon Toth simont at mail.muni.cz
Thu Jul 16 05:15:57 MDT 2009

Looking at the code, I don't know what to change. Strlen cannot return
negative value and ptr[0] definitely is not bellow array bounds. Maybe
its about "path_checkpoint - 1".

cc1: warnings being treated as errors
checkpoint.c: In function 'replace_checkpoint_path':
checkpoint.c:409: error: array subscript is below array bounds

Mgr. Simon Toth
CESNET z. s. p. o.
Zikova 4
160 00 Praha 6
Czech Republic

More information about the torquedev mailing list