warning: tweak.c:538 no return at end of function: tohex Reference: /n/sources/patch/applied/tweak-hex-noreturn Date: Mon Mar 27 15:11:33 CES 2006 Signed-off-by: xigh@free.fr --- /sys/src/cmd/tweak.c Mon Mar 27 15:09:53 2006 +++ /sys/src/cmd/tweak.c Mon Mar 27 15:09:46 2006 @@ -536,6 +536,7 @@ return 10 + (c - 'a'); if('A'<=c && c<='F') return 10 + (c - 'A'); + return 0; // keeps compiler -w happy } Thing*