diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2018-09-08 19:05:34 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2018-09-08 19:05:34 +0200 |
commit | 267f9007f6f0142853ba5f99f3f72a58f8fb857f (patch) | |
tree | f3869bbd7e4dcefff0c04a8eff4d3903abdc409d /debian/patches/0100-xcam.c_dead_code.patch | |
parent | ac5d58282438345b4d12a24334efcc0299c15165 (diff) |
Rename patches and remove not used debian/patches/scanadf-sigchld.diff
Diffstat (limited to 'debian/patches/0100-xcam.c_dead_code.patch')
-rw-r--r-- | debian/patches/0100-xcam.c_dead_code.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/0100-xcam.c_dead_code.patch b/debian/patches/0100-xcam.c_dead_code.patch new file mode 100644 index 0000000..f90bc6b --- /dev/null +++ b/debian/patches/0100-xcam.c_dead_code.patch @@ -0,0 +1,25 @@ +Author: <jblache@debian.org> +Description: Remove dead code in src/xcam.c::load_defaults() +Index: trunk/src/xcam.c +=================================================================== +--- trunk.orig/src/xcam.c ++++ trunk/src/xcam.c +@@ -536,16 +536,14 @@ static void + load_defaults (int silent) + { + char filename[PATH_MAX]; +- int fd; + + DBG (DBG_debug, "xcam, load_defaults: enter\n"); + if (make_default_filename (sizeof (filename), filename, dialog->dev_name) + < 0) + return; +- if (fd < 0) +- return; ++ + load_settings (filename, silent); +- sanei_load_values (fd, dialog->dev); ++ + DBG (DBG_debug, "xcam, load_defaults: exit\n"); + } + |