From b736acfceccc169efae23456533dde5a47005909 Mon Sep 17 00:00:00 2001 From: Robin Mills Date: Tue, 15 Jan 2013 07:31:01 +0000 Subject: [PATCH] Fixing compiler warning on Linux. --- src/tiffimage.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tiffimage.cpp b/src/tiffimage.cpp index 35fe41c1..52742621 100644 --- a/src/tiffimage.cpp +++ b/src/tiffimage.cpp @@ -2030,6 +2030,7 @@ namespace Exiv2 { buf.pData_[0] = 0x4d; buf.pData_[1] = 0x4d; break; + case asciiBytes: case invalidByteOrder: assert(false); break; @@ -2049,6 +2050,7 @@ namespace Exiv2 { switch (byteOrder_) { case littleEndian: os << ", " << _("little endian encoded"); break; case bigEndian: os << ", " << _("big endian encoded"); break; + case asciiBytes : break; case invalidByteOrder: break; } os << "\n";