X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fgdcmjpegls%2FDecoder%2Fglobal.c;h=768a3ead7a4e3ec1148bc20bc8ff2f295e9c79f5;hb=44f77c590dae9d3ba7da64eb30e0236a019020a8;hp=9375585e8e0e834e59984da2e57c7e235dc28f39;hpb=f80c00b9d21990c7f843dc801e6cd251a887d4ca;p=gdcm.git diff --git a/src/gdcmjpegls/Decoder/global.c b/src/gdcmjpegls/Decoder/global.c index 9375585e..768a3ead 100644 --- a/src/gdcmjpegls/Decoder/global.c +++ b/src/gdcmjpegls/Decoder/global.c @@ -145,8 +145,8 @@ void *safecalloc(size_t numels, size_t size) { double get_utime() { - clock_t c; - (void)c; + /*clock_t c; + (void)c;*/ return (double)clock()/CLOCKS_PER_SEC; } @@ -333,7 +333,7 @@ char *ttyfilename = "CON"; void fprint_disclaimer(FILE *fp, int nopause) { char *p0, *p1; - FILE *ttyf; + FILE *ttyf = NULL; int i; /*, c;*/ nopause = nopause | !isatty(fileno(fp));