diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2008-05-04 05:14:00 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2008-05-04 05:14:00 +0000 |
| commit | 7b781b0f4b6d3c29a2462a53b69789615cc104f9 (patch) | |
| tree | aa9f9821145fd79ffd4b004ca8189c8eb763d390 /src/dom/io | |
| parent | Initial cut of touch-delete mode (diff) | |
| download | inkscape-7b781b0f4b6d3c29a2462a53b69789615cc104f9.tar.gz inkscape-7b781b0f4b6d3c29a2462a53b69789615cc104f9.zip | |
warning cleanup and fixed string free issue
(bzr r5594)
Diffstat (limited to 'src/dom/io')
| -rw-r--r-- | src/dom/io/base64stream.cpp | 2 | ||||
| -rw-r--r-- | src/dom/io/domstream.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/dom/io/base64stream.cpp b/src/dom/io/base64stream.cpp index 2cab2b3f4..509c67d6d 100644 --- a/src/dom/io/base64stream.cpp +++ b/src/dom/io/base64stream.cpp @@ -188,7 +188,7 @@ int Base64InputStream::get() //# B A S E 6 4 O U T P U T S T R E A M //######################################################################### -static char *base64encode = +static char const *base64encode = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /** diff --git a/src/dom/io/domstream.cpp b/src/dom/io/domstream.cpp index 6f8dc634d..bc3810de0 100644 --- a/src/dom/io/domstream.cpp +++ b/src/dom/io/domstream.cpp @@ -72,11 +72,11 @@ void pipeStream(InputStream &source, OutputStream &dest) //# F O R M A T T E D P R I N T I N G //######################################################################### -static char *digits = "0123456789abcdefghijklmnopqrstuvwxyz"; +static char const *digits = "0123456789abcdefghijklmnopqrstuvwxyz"; static int dprintInt(Writer &outs, long arg, int base, - int flag, int width, int precision) + int flag, int width, int /*precision*/) { DOMString buf; @@ -217,7 +217,7 @@ static int dprintDouble(Writer &outs, double val, * XML entities. */ static int dprintString(Writer &outs, const DOMString &str, - int flags, int width, int precision) + int flags, int /*width*/, int /*precision*/) { int len = str.size(); if (flags == '#') |
