summaryrefslogtreecommitdiff
path: root/libutils/String8.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-04-30 11:10:46 -0700
committerMark Salyzyn <salyzyn@google.com>2014-06-02 15:57:50 -0700
commit5bed8036644f552210a7cfcbed2d6d20cf2981b0 (patch)
tree37f784e181086e99b17e00d46b6da30529751539 /libutils/String8.cpp
parentbf0f25905b12581f05b65b1ebe95211c727ae483 (diff)
libutils: turn on -Werror
- Deal with some -Wunused issues - Override PRI macros (windows) - Revert use of PRI macros on off64_t (linux) - Deal with a gnu++11 complaince issue Change-Id: Ie66751293bd84477a5a6dfd8a57e700a16e36964
Diffstat (limited to 'libutils/String8.cpp')
-rw-r--r--libutils/String8.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/libutils/String8.cpp b/libutils/String8.cpp
index 8acb4d45f..49340bbb7 100644
--- a/libutils/String8.cpp
+++ b/libutils/String8.cpp
@@ -551,7 +551,6 @@ char* String8::find_extension(void) const
{
const char* lastSlash;
const char* lastDot;
- int extLen;
const char* const str = mString;
// only look at the filename