diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2008-03-02 05:45:09 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2008-03-02 05:45:09 +0000 |
| commit | d89b161b1f02efc2082191696367036994372f27 (patch) | |
| tree | 7f452cdc190777564848094c0cd405f64973f22a /src | |
| parent | remove assert_close (diff) | |
| download | inkscape-d89b161b1f02efc2082191696367036994372f27.tar.gz inkscape-d89b161b1f02efc2082191696367036994372f27.zip | |
warning cleanup
(bzr r4917)
Diffstat (limited to 'src')
| -rw-r--r-- | src/extension/execution-env.cpp | 4 | ||||
| -rw-r--r-- | src/trace/potrace/inkscape-potrace.cpp | 16 |
2 files changed, 10 insertions, 10 deletions
diff --git a/src/extension/execution-env.cpp b/src/extension/execution-env.cpp index fae764a9d..aa8c82171 100644 --- a/src/extension/execution-env.cpp +++ b/src/extension/execution-env.cpp @@ -70,7 +70,7 @@ ExecutionEnv::ExecutionEnv (Effect * effect, Inkscape::UI::View::View * doc, Imp } /** \brief Destroy an execution environment - + Destroys the dialog if created and the document cache. */ ExecutionEnv::~ExecutionEnv (void) { @@ -138,7 +138,7 @@ ExecutionEnv::createWorkingDialog (void) { } void -ExecutionEnv::workingCanceled( const int resp) { +ExecutionEnv::workingCanceled( const int /*resp*/) { cancel(); undo(); return; diff --git a/src/trace/potrace/inkscape-potrace.cpp b/src/trace/potrace/inkscape-potrace.cpp index 3f4cbc36c..bad4278e2 100644 --- a/src/trace/potrace/inkscape-potrace.cpp +++ b/src/trace/potrace/inkscape-potrace.cpp @@ -43,7 +43,7 @@ static void updateGui() } -static void potraceStatusCallback(double progress, void *userData) /* callback fn */ +static void potraceStatusCallback(double /*progress*/, void *userData) /* callback fn */ { updateGui(); @@ -284,14 +284,14 @@ filterIndexed(PotraceTracingEngine &engine, GdkPixbuf * pixbuf) RgbMap *gm = gdkPixbufToRgbMap(pixbuf); if (engine.getMultiScanSmooth()) { - RgbMap *gaussMap = rgbMapGaussian(gm); - newGm = rgbMapQuantize(gaussMap, engine.getMultiScanNrColors()); - gaussMap->destroy(gaussMap); - } + RgbMap *gaussMap = rgbMapGaussian(gm); + newGm = rgbMapQuantize(gaussMap, engine.getMultiScanNrColors()); + gaussMap->destroy(gaussMap); + } else { - newGm = rgbMapQuantize(gm, engine.getMultiScanNrColors()); - } + newGm = rgbMapQuantize(gm, engine.getMultiScanNrColors()); + } gm->destroy(gm); if (engine.getTraceType() == TRACE_QUANT_MONO) @@ -379,7 +379,7 @@ PotraceTracingEngine::grayMapToPath(GrayMap *grayMap, long *nodeCount) /* trace a bitmap*/ potrace_state_t *potraceState = potrace_trace(potraceParams, - potraceBitmap); + potraceBitmap); //## Free the Potrace bitmap bm_free(potraceBitmap); |
