[gnote] Fix a warning about a condition never reached.
- From: Hubert FiguiÃre <hub src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Fix a warning about a condition never reached.
- Date: Sat, 3 Dec 2011 19:39:20 +0000 (UTC)
commit 42ec4f2269d3f21a24d5a6e96d3ca6a271f09058
Author: Hub Figuiere <hub figuiere net>
Date: Thu Dec 1 20:27:01 2011 -0800
Fix a warning about a condition never reached.
src/utils.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/utils.cpp b/src/utils.cpp
index 5884a91..b56515f 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -532,7 +532,7 @@ namespace gnote {
xml.close();
std::string result = xml.to_string();
- unsigned end_pos = result.find("</x>");
+ std::string::size_type end_pos = result.find("</x>");
if(end_pos == result.npos) {
return "";
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]