summaryrefslogtreecommitdiff
path: root/ACE/ACEXML
diff options
context:
space:
mode:
authorAbdullah Sowayan <sowayan@users.noreply.github.com>2007-05-18 02:54:37 +0000
committerAbdullah Sowayan <sowayan@users.noreply.github.com>2007-05-18 02:54:37 +0000
commit735232bc256e11c73666cc1293783920fd24c89a (patch)
treecd3214c8895b8e3baabcbcf990650017ec07e736 /ACE/ACEXML
parentf69fddc7cd693208bbe4d650daf12b33784c19ca (diff)
downloadATCD-735232bc256e11c73666cc1293783920fd24c89a.tar.gz
Fri May 18 02:50:42 UTC 2007 Abdullah Sowayan <abdullah.sowayan@lmco.com>
Diffstat (limited to 'ACE/ACEXML')
-rw-r--r--ACE/ACEXML/ChangeLog13
-rw-r--r--ACE/ACEXML/common/Mem_Map_Stream.cpp1
-rw-r--r--ACE/ACEXML/examples/SAXPrint/main.cpp3
3 files changed, 15 insertions, 2 deletions
diff --git a/ACE/ACEXML/ChangeLog b/ACE/ACEXML/ChangeLog
index 4ec9ae36554..4e76d780faa 100644
--- a/ACE/ACEXML/ChangeLog
+++ b/ACE/ACEXML/ChangeLog
@@ -1,3 +1,16 @@
+Fri May 18 02:50:42 UTC 2007 Abdullah Sowayan <abdullah.sowayan@lmco.com>
+
+ * common/Mem_Map_Stream.cpp:
+
+ It makes no sense to have code after a return statement
+ (such as ACE_ERROR_RETURN). It causes some builds to have
+ "statement is unreachable" warning.
+
+ * examples/SAXPrint/main.cpp:
+
+ Enhanced the "#ifndef" macros used to avoid "statement is
+ unreachable" warning.
+
Tue May 15 17:36:23 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
* parser/parser/ParserInternals.h:
diff --git a/ACE/ACEXML/common/Mem_Map_Stream.cpp b/ACE/ACEXML/common/Mem_Map_Stream.cpp
index 118b4375ffb..67118c0d276 100644
--- a/ACE/ACEXML/common/Mem_Map_Stream.cpp
+++ b/ACE/ACEXML/common/Mem_Map_Stream.cpp
@@ -116,7 +116,6 @@ ACEXML_Mem_Map_Stream::seek (ACE_OFF_T offset, int whence)
this->end_of_mapping_plus1_ + offset;
// @@ Not sure how to implement this (yet).
ACE_NOTSUP_RETURN (-1);
- break;
}
// Make sure that the backing store will cover this.
diff --git a/ACE/ACEXML/examples/SAXPrint/main.cpp b/ACE/ACEXML/examples/SAXPrint/main.cpp
index f6f334cee0e..d875fff1964 100644
--- a/ACE/ACEXML/examples/SAXPrint/main.cpp
+++ b/ACE/ACEXML/examples/SAXPrint/main.cpp
@@ -64,8 +64,9 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
ACE_TEXT ("$ACE_ROOT/ACEXML/README for more ")
ACE_TEXT ("information. \n")));
return -1;
-#endif /* USE_ZZIP */
+#else
break;
+#endif /* USE_ZZIP */
default:
usage(argv[0]);
return -1;