|
From: Dan F. <dfa...@us...> - 2017-05-26 14:16:45
|
Update of /cvsroot/libexif/libexif/libexif/olympus In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv32509 Modified Files: mnote-olympus-entry.c Log Message: Fixed an unused variable warning Index: mnote-olympus-entry.c =================================================================== RCS file: /cvsroot/libexif/libexif/libexif/olympus/mnote-olympus-entry.c,v retrieving revision 1.56 retrieving revision 1.57 diff -u -d -r1.56 -r1.57 --- mnote-olympus-entry.c 26 May 2017 13:13:14 -0000 1.56 +++ mnote-olympus-entry.c 26 May 2017 14:16:41 -0000 1.57 @@ -346,11 +346,11 @@ break; case MNOTE_NIKON_TAG_LENS_FSTOPS: case MNOTE_NIKON_TAG_EXPOSUREDIFF: { - unsigned char a,b,c,d; + unsigned char a,b,c; CF (entry->format, EXIF_FORMAT_UNDEFINED, v, maxlen); CC (entry->components, 4, v, maxlen); vl = exif_get_long (entry->data, entry->order); - a = (vl>>24)&0xff; b = (vl>>16)&0xff; c = (vl>>8)&0xff; d = (vl)&0xff; + a = (vl>>24)&0xff; b = (vl>>16)&0xff; c = (vl>>8)&0xff; snprintf (v, maxlen, "%.1f", c?(float)a*((float)b/(float)c):0 ); break; } |