Fix a bunch of warnings reported by gcc (unused results from fwrite)
[openjpeg.git] / libopenjpeg / openjpeg.h
index 51d691e617c41d17932c115a7ff888c2af7b9468..169ffd779910006b8c81fed48b9b349b54dca5a5 100644 (file)
@@ -64,7 +64,7 @@ typedef int opj_bool;
 #define OPJ_TRUE 1
 #define OPJ_FALSE 0
 
-// Avoid compile-time warning because parameter is not used
+/* Avoid compile-time warning because parameter is not used */
 #define OPJ_ARG_NOT_USED(x) (void)(x)
 /* 
 ==========================================================
@@ -142,7 +142,7 @@ typedef enum CODEC_FORMAT {
        CODEC_UNKNOWN = -1,     /**< place-holder */
        CODEC_J2K  = 0,         /**< JPEG-2000 codestream : read/write */
        CODEC_JPT  = 1,         /**< JPT-stream (JPEG 2000, JPIP) : read only */
-       CODEC_JP2  = 2,         /**< JPEG-2000 file format : read/write */
+       CODEC_JP2  = 2          /**< JPEG-2000 file format : read/write */
 } OPJ_CODEC_FORMAT;
 
 /**