summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/selection-chemistry.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp
index d4964c284..9b11ef9f6 100644
--- a/src/selection-chemistry.cpp
+++ b/src/selection-chemistry.cpp
@@ -1887,7 +1887,6 @@ sp_selection_relink()
gchar *newref = g_strdup_printf ("#%s", newid);
// Get a copy of current selection.
- GSList *new_select = NULL;
bool relinked = false;
for (GSList *items = (GSList *) selection->itemList();
items != NULL;
@@ -2544,7 +2543,8 @@ sp_selection_create_bitmap_copy ()
// Run filter, if any
if (run) {
g_print ("Running external filter: %s\n", run);
- system (run);
+ int retval;
+ retval = system (run);
}
// Import the image back