From 773bd891308d37fbcdaf264ed10de0e2a35fec66 Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Mon, 17 Mar 2014 16:03:07 +0000 Subject: [PATCH] [1.5] Remove simple warning about C++ style comments --- libopenjpeg/jp2.c | 2 +- libopenjpeg/t1_generate_luts.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libopenjpeg/jp2.c b/libopenjpeg/jp2.c index a53e3f5c..37faec02 100644 --- a/libopenjpeg/jp2.c +++ b/libopenjpeg/jp2.c @@ -175,7 +175,7 @@ static opj_bool jp2_read_boxhdr(opj_common_ptr cinfo, opj_cio_t *cio, opj_jp2_bo } if (box->length < 0) { opj_event_msg(cinfo, EVT_ERROR, "Integer overflow in box->length\n"); - return OPJ_FALSE; // TODO: actually check jp2_read_boxhdr's return value + return OPJ_FALSE; /* TODO: actually check jp2_read_boxhdr's return value */ } return OPJ_TRUE; diff --git a/libopenjpeg/t1_generate_luts.c b/libopenjpeg/t1_generate_luts.c index 39880414..34f0fca7 100644 --- a/libopenjpeg/t1_generate_luts.c +++ b/libopenjpeg/t1_generate_luts.c @@ -194,7 +194,7 @@ int main(){ printf("/* This file was automatically generated by t1_generate_luts.c */\n\n"); - // lut_ctxno_zc + /* lut_ctxno_zc */ for (j = 0; j < 4; ++j) { for (i = 0; i < 256; ++i) { int orient = j;