summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libmng/libmng_prop_xs.c
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-09-08 10:58:01 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-09-09 06:06:05 (GMT)
commit5a4d3eec863e10d45edb76659c06729efdea4d9d (patch)
tree3962f7b4d58e3d1dc1e03b2983edc47f6ce6e24e /src/3rdparty/libmng/libmng_prop_xs.c
parentf5ef0b09d34e238b9976875ccba2463c2242c748 (diff)
downloadQt-5a4d3eec863e10d45edb76659c06729efdea4d9d.zip
Qt-5a4d3eec863e10d45edb76659c06729efdea4d9d.tar.gz
Qt-5a4d3eec863e10d45edb76659c06729efdea4d9d.tar.bz2
Fixed compiler warnings for RVCT compiler.
When compiling libmng for RVCT the following compiler warnings were reported: - #177-D: variable "pTemp" was declared but never referenced - #14-D: extra text after expected end of preprocessing directive This fix delays the pTemp declaration, until they are needed inside used for example in 'mng_create_imagedataobject' function. For 'extra text after expected end of preprocessing directive' warning the fix is to use: #endif /* MNG_SUPPORT_WRITE */ Instead of: #endif MNG_SUPPORT_WRITE Task-number: 241223 Reviewed-by: Espen Riskedal
Diffstat (limited to 'src/3rdparty/libmng/libmng_prop_xs.c')
-rw-r--r--src/3rdparty/libmng/libmng_prop_xs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/libmng/libmng_prop_xs.c b/src/3rdparty/libmng/libmng_prop_xs.c
index 88e416d..3849d51 100644
--- a/src/3rdparty/libmng/libmng_prop_xs.c
+++ b/src/3rdparty/libmng/libmng_prop_xs.c
@@ -1033,7 +1033,7 @@ mng_retcode MNG_DECL mng_set_jpeg_dctmethod (mng_handle hHandle,
return MNG_NOERROR;
}
-#endif MNG_SUPPORT_WRITE
+#endif /* MNG_SUPPORT_WRITE */
#endif /* MNG_ACCESS_JPEG */
#endif /* MNG_INCLUDE_JNG */