blob: f90bc6b9b7abcd18df6ad2b75c04bf9132ed19af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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");
}
|