Batch of correction to lower the number of GCC warnings

This commit is contained in:
Hombre
2010-08-29 02:25:59 +02:00
parent 6da0cf6792
commit 02dac0425d
40 changed files with 936 additions and 923 deletions

View File

@@ -799,60 +799,60 @@ CAModelIDInterpreter caModelIDInterpreter;
const TagAttrib canonAttribs[] = {
0, 1, 0, 0, 0x0001, "CanonCameraSettings", &caCameraSettingsInterpreter,
0, 1, 0, 0, 0x0002, "CanonFocalLength", &caFocalLengthInterpreter,
0, 1, 0, 0, 0x0003, "CanonFlashInfo", &stdInterpreter,
0, 1, 0, 0, 0x0004, "CanonShotInfo", &caShotInfoInterpreter,
0, 1, 0, 0, 0x0005, "CanonPanorama", &stdInterpreter,
0, 1, 0, 0, 0x0006, "CanonImageType", &stdInterpreter,
0, 1, 0, 0, 0x0007, "CanonFirmwareVersion", &stdInterpreter,
0, 1, 0, 0, 0x0008, "FileNumber", &stdInterpreter,
0, 1, 0, 0, 0x0009, "OwnerName", &stdInterpreter,
0, 1, 0, 0, 0x000a, "ColorInfoD30", &stdInterpreter,
0, 1, 0, 0, 0x000c, "SerialNumber", &stdInterpreter,
0, 1, 0, 0, 0x000d, "CanonCameraInfo", &stdInterpreter,
0, 1, 0, 0, 0x000e, "CanonFileLength", &stdInterpreter,
0, 1, 0, 0, 0x000f, "CustomFunctions", &stdInterpreter,
0, 1, 0, 0, 0x0010, "CanonModelID", &caModelIDInterpreter,
0, 1, 0, 0, 0x0012, "CanonAFInfo", &stdInterpreter,
0, 1, 0, 0, 0x0015, "SerialNumberFormat", &stdInterpreter,
0, 1, 0, 0, 0x001c, "DateStampMode", &stdInterpreter,
0, 1, 0, 0, 0x001d, "MyColors", &stdInterpreter,
0, 1, 0, 0, 0x001e, "FirmwareRevision", &stdInterpreter,
0, 3, 0, 0, 0x0024, "FaceDetect1", &stdInterpreter,
0, 3, 0, 0, 0x0025, "FaceDetect2", &stdInterpreter,
0, 1, 0, 0, 0x0026, "CanonAFInfo2", &stdInterpreter,
0, 1, 0, 0, 0x0083, "OriginalDecisionData", &stdInterpreter,
0, 1, 0, 0, 0x0090, "CustomFunctions1D", &stdInterpreter,
0, 1, 0, 0, 0x0091, "PersonalFunctions", &stdInterpreter,
0, 1, 0, 0, 0x0092, "PersonalFunctionValues", &stdInterpreter,
0, 1, 0, 0, 0x0093, "CanonFileInfo", &caFileInfoInterpreter,
0, 1, 0, 0, 0x0094, "AFPointsInFocus1D", &stdInterpreter,
0, 1, 0, 0, 0x0095, "LensType", &stdInterpreter,
0, 1, 0, 0, 0x0096, "InternalSerialNumber", &caIntSerNumInterpreter,
0, 1, 0, 0, 0x0097, "DustRemovalData", &stdInterpreter,
0, 1, 0, 0, 0x0099, "CustomFunctions2", &stdInterpreter,
0, 1, 0, 0, 0x00a0, "ProccessingInfo", &caProcessingInfoInterpreter,
0, 1, 0, 0, 0x00a1, "ToneCurveTable", &stdInterpreter,
0, 1, 0, 0, 0x00a2, "SharpnessTable", &stdInterpreter,
0, 1, 0, 0, 0x00a3, "SharpnessFreqTable", &stdInterpreter,
0, 1, 0, 0, 0x00a4, "WhiteBalanceTable", &stdInterpreter,
0, 1, 0, 0, 0x00a9, "ColorBalance", &stdInterpreter,
0, 1, 0, 0, 0x00ae, "ColorTemperature", &stdInterpreter,
0, 3, 0, 0, 0x00b0, "CanonFlags", &stdInterpreter,
0, 1, 0, 0, 0x00b1, "ModifiedInfo", &stdInterpreter,
0, 1, 0, 0, 0x00b2, "ToneCurveMatching", &stdInterpreter,
0, 1, 0, 0, 0x00b3, "WhiteBalanceMatching", &stdInterpreter,
0, 1, 0, 0, 0x00b4, "ColorSpace", &stdInterpreter,
1, 1, 0, 0, 0x00b6, "PreviewImageInfo", &stdInterpreter,
0, 1, 0, 0, 0x00d0, "VRDOffset", &stdInterpreter,
0, 1, 0, 0, 0x00e0, "SensorInfo", &stdInterpreter,
0, 1, 0, 0, 0x4001, "ColorBalance", &stdInterpreter,
0, 1, 0, 0, 0x4002, "UnknownBlock1", &stdInterpreter,
0, 1, 0, 0, 0x4003, "ColorInfo", &stdInterpreter,
1, 1, 0, 0, 0x4005, "UnknownBlock2", &stdInterpreter,
1, 1, 0, 0, 0x4008, "BlackLevel", &stdInterpreter,
-1, 0, 0, 0, 0, "", NULL};
{0, 1, 0, 0, 0x0001, "CanonCameraSettings", &caCameraSettingsInterpreter},
{0, 1, 0, 0, 0x0002, "CanonFocalLength", &caFocalLengthInterpreter},
{0, 1, 0, 0, 0x0003, "CanonFlashInfo", &stdInterpreter},
{0, 1, 0, 0, 0x0004, "CanonShotInfo", &caShotInfoInterpreter},
{0, 1, 0, 0, 0x0005, "CanonPanorama", &stdInterpreter},
{0, 1, 0, 0, 0x0006, "CanonImageType", &stdInterpreter},
{0, 1, 0, 0, 0x0007, "CanonFirmwareVersion", &stdInterpreter},
{0, 1, 0, 0, 0x0008, "FileNumber", &stdInterpreter},
{0, 1, 0, 0, 0x0009, "OwnerName", &stdInterpreter},
{0, 1, 0, 0, 0x000a, "ColorInfoD30", &stdInterpreter},
{0, 1, 0, 0, 0x000c, "SerialNumber", &stdInterpreter},
{0, 1, 0, 0, 0x000d, "CanonCameraInfo", &stdInterpreter},
{0, 1, 0, 0, 0x000e, "CanonFileLength", &stdInterpreter},
{0, 1, 0, 0, 0x000f, "CustomFunctions", &stdInterpreter},
{0, 1, 0, 0, 0x0010, "CanonModelID", &caModelIDInterpreter},
{0, 1, 0, 0, 0x0012, "CanonAFInfo", &stdInterpreter},
{0, 1, 0, 0, 0x0015, "SerialNumberFormat", &stdInterpreter},
{0, 1, 0, 0, 0x001c, "DateStampMode", &stdInterpreter},
{0, 1, 0, 0, 0x001d, "MyColors", &stdInterpreter},
{0, 1, 0, 0, 0x001e, "FirmwareRevision", &stdInterpreter},
{0, 3, 0, 0, 0x0024, "FaceDetect1", &stdInterpreter},
{0, 3, 0, 0, 0x0025, "FaceDetect2", &stdInterpreter},
{0, 1, 0, 0, 0x0026, "CanonAFInfo2", &stdInterpreter},
{0, 1, 0, 0, 0x0083, "OriginalDecisionData", &stdInterpreter},
{0, 1, 0, 0, 0x0090, "CustomFunctions1D", &stdInterpreter},
{0, 1, 0, 0, 0x0091, "PersonalFunctions", &stdInterpreter},
{0, 1, 0, 0, 0x0092, "PersonalFunctionValues", &stdInterpreter},
{0, 1, 0, 0, 0x0093, "CanonFileInfo", &caFileInfoInterpreter},
{0, 1, 0, 0, 0x0094, "AFPointsInFocus1D", &stdInterpreter},
{0, 1, 0, 0, 0x0095, "LensType", &stdInterpreter},
{0, 1, 0, 0, 0x0096, "InternalSerialNumber", &caIntSerNumInterpreter},
{0, 1, 0, 0, 0x0097, "DustRemovalData", &stdInterpreter},
{0, 1, 0, 0, 0x0099, "CustomFunctions2", &stdInterpreter},
{0, 1, 0, 0, 0x00a0, "ProccessingInfo", &caProcessingInfoInterpreter},
{0, 1, 0, 0, 0x00a1, "ToneCurveTable", &stdInterpreter},
{0, 1, 0, 0, 0x00a2, "SharpnessTable", &stdInterpreter},
{0, 1, 0, 0, 0x00a3, "SharpnessFreqTable", &stdInterpreter},
{0, 1, 0, 0, 0x00a4, "WhiteBalanceTable", &stdInterpreter},
{0, 1, 0, 0, 0x00a9, "ColorBalance", &stdInterpreter},
{0, 1, 0, 0, 0x00ae, "ColorTemperature", &stdInterpreter},
{0, 3, 0, 0, 0x00b0, "CanonFlags", &stdInterpreter},
{0, 1, 0, 0, 0x00b1, "ModifiedInfo", &stdInterpreter},
{0, 1, 0, 0, 0x00b2, "ToneCurveMatching", &stdInterpreter},
{0, 1, 0, 0, 0x00b3, "WhiteBalanceMatching", &stdInterpreter},
{0, 1, 0, 0, 0x00b4, "ColorSpace", &stdInterpreter},
{1, 1, 0, 0, 0x00b6, "PreviewImageInfo", &stdInterpreter},
{0, 1, 0, 0, 0x00d0, "VRDOffset", &stdInterpreter},
{0, 1, 0, 0, 0x00e0, "SensorInfo", &stdInterpreter},
{0, 1, 0, 0, 0x4001, "ColorBalance", &stdInterpreter},
{0, 1, 0, 0, 0x4002, "UnknownBlock1", &stdInterpreter},
{0, 1, 0, 0, 0x4003, "ColorInfo", &stdInterpreter},
{1, 1, 0, 0, 0x4005, "UnknownBlock2", &stdInterpreter},
{1, 1, 0, 0, 0x4008, "BlackLevel", &stdInterpreter},
{-1, 0, 0, 0, 0, "", NULL}};
};
#endif