aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/src/Jpeg.cpp
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-07-12 13:35:57 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-07-26 10:12:45 +0200
commit4afc641fdd8c03bd708f50e0c3691b5de7ea1dba (patch)
treea0bcbfa2c4ae1111ad3d49390c7abd0ae3a9a2ed /nxcomp/src/Jpeg.cpp
parentb3a3382ad8e162b0a63bc71ebb2238b14875cdc5 (diff)
downloadnx-libs-4afc641fdd8c03bd708f50e0c3691b5de7ea1dba.tar.gz
nx-libs-4afc641fdd8c03bd708f50e0c3691b5de7ea1dba.tar.bz2
nx-libs-4afc641fdd8c03bd708f50e0c3691b5de7ea1dba.zip
nxcomp: Add __attribute__((noreturn)) to more functions where appropriate.
Diffstat (limited to 'nxcomp/src/Jpeg.cpp')
-rw-r--r--nxcomp/src/Jpeg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/nxcomp/src/Jpeg.cpp b/nxcomp/src/Jpeg.cpp
index 64a537497..2e8044049 100644
--- a/nxcomp/src/Jpeg.cpp
+++ b/nxcomp/src/Jpeg.cpp
@@ -106,7 +106,7 @@ static int DecompressJpeg24(unsigned char *compressedData, int compressedLen,
static int DecompressJpeg32(unsigned char *compressedData, int compressedLen,
unsigned int w, unsigned int h, unsigned char *dstBuf, int byteOrder);
-void UnpackJpegErrorHandler(j_common_ptr cinfo);
+void UnpackJpegErrorHandler(j_common_ptr cinfo) __attribute__((noreturn));
//
// Colormap stuff.