General code cleanup

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@369 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
DRC
2011-02-15 21:57:50 +00:00
parent 993bf0e515
commit 72b0f2b68e

View File

@@ -380,8 +380,7 @@ void dodecomptest(char *filename)
temp=strrchr(filename, '.'); temp=strrchr(filename, '.');
if(temp!=NULL) *temp='\0'; if(temp!=NULL) *temp='\0';
if((hnd=tjInitDecompress())==NULL) if((hnd=tjInitDecompress())==NULL) _throwtj("executing tjInitDecompress()");
_throwtj("executing tjInitDecompress()");
if(tjDecompressHeader2(hnd, jpegbuf, jpgbufsize, &w, &h, &jpegsub)==-1) if(tjDecompressHeader2(hnd, jpegbuf, jpgbufsize, &w, &h, &jpegsub)==-1)
_throwtj("executing tjDecompressHeader2()"); _throwtj("executing tjDecompressHeader2()");
if(tjDestroy(hnd)==-1) _throwtj("executing tjDestroy()"); if(tjDestroy(hnd)==-1) _throwtj("executing tjDestroy()");