diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2013-10-27 16:47:42 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2013-10-27 16:47:42 +0000 |
| commit | 5fc8293bd324fa3ed49226adb9b46174a227f766 (patch) | |
| tree | 66746a0ec377c0af5f22be7d591eb30f708933af /src | |
| parent | add some nullptr checking, should fix crash (couldn't test) (diff) | |
| download | inkscape-5fc8293bd324fa3ed49226adb9b46174a227f766.tar.gz inkscape-5fc8293bd324fa3ed49226adb9b46174a227f766.zip | |
fix warnings
(bzr r12734)
Diffstat (limited to 'src')
| -rw-r--r-- | src/draw-context.cpp | 2 | ||||
| -rw-r--r-- | src/event-context.cpp | 2 | ||||
| -rw-r--r-- | src/sp-lpe-item.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/draw-context.cpp b/src/draw-context.cpp index 498ff5bfb..365da38ac 100644 --- a/src/draw-context.cpp +++ b/src/draw-context.cpp @@ -165,7 +165,7 @@ void SPDrawContext::finish() { spdc_free_colors(this); } -void SPDrawContext::set(const Inkscape::Preferences::Entry& value) { +void SPDrawContext::set(const Inkscape::Preferences::Entry& /*value*/) { } bool SPDrawContext::root_handler(GdkEvent* event) { diff --git a/src/event-context.cpp b/src/event-context.cpp index e5ea85818..398d3b0e3 100644 --- a/src/event-context.cpp +++ b/src/event-context.cpp @@ -77,7 +77,7 @@ static guint32 scroll_event_time = 0; static gdouble scroll_multiply = 1; static guint scroll_keyval = 0; -void SPEventContext::set(const Inkscape::Preferences::Entry& val) { +void SPEventContext::set(const Inkscape::Preferences::Entry& /*val*/) { } void SPEventContext::activate() { diff --git a/src/sp-lpe-item.cpp b/src/sp-lpe-item.cpp index 61ba2ae0d..666c79e49 100644 --- a/src/sp-lpe-item.cpp +++ b/src/sp-lpe-item.cpp @@ -258,7 +258,7 @@ bool SPLPEItem::performPathEffect(SPCurve *curve) { } // CPPIFY: make pure virtual -void SPLPEItem::update_patheffect(bool write) { +void SPLPEItem::update_patheffect(bool /*write*/) { //throw; } |
