diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2008-12-08 07:15:15 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2008-12-08 07:15:15 +0000 |
| commit | bb672c6aad453833c8e76028668b70c14bfb4ba3 (patch) | |
| tree | 93451c6b9a71caa1171597b306eb7c27f58a989d /src/svg | |
| parent | Partial fix for "make check" compilation failure. (diff) | |
| download | inkscape-bb672c6aad453833c8e76028668b70c14bfb4ba3.tar.gz inkscape-bb672c6aad453833c8e76028668b70c14bfb4ba3.zip | |
Warning and 'using' cleanup.
(bzr r6970)
Diffstat (limited to 'src/svg')
| -rw-r--r-- | src/svg/css-ostringstream-test.h | 4 | ||||
| -rw-r--r-- | src/svg/svg-color-test.h | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/svg/css-ostringstream-test.h b/src/svg/css-ostringstream-test.h index ffe15ee9a..5656baf5c 100644 --- a/src/svg/css-ostringstream-test.h +++ b/src/svg/css-ostringstream-test.h @@ -2,8 +2,8 @@ #include "svg/css-ostringstream.h" // dummy functions to prevent link errors -int sp_main_gui(int argc, char const **argv) { return 0; } -int sp_main_console(int argc, char const **argv) { return 0; } +int sp_main_gui(int /*argc*/, char const **/*argv*/) { return 0; } +int sp_main_console(int /*argc*/, char const **/*argv*/) { return 0; } template<typename T> static void diff --git a/src/svg/svg-color-test.h b/src/svg/svg-color-test.h index d249c675c..49af63a5d 100644 --- a/src/svg/svg-color-test.h +++ b/src/svg/svg-color-test.h @@ -52,9 +52,8 @@ public: } /* And a few completely random ones. */ - using std::rand; for (unsigned i = 500; i--;) { /* Arbitrary number of iterations. */ - unsigned const rgb24 = (rand() >> 4) & 0xffffff; + unsigned const rgb24 = (std::rand() >> 4) & 0xffffff; check_rgb24(rgb24); } } |
