Johannes Meixner <jsm...@suse.de> wrote: > I noticed in sane-frontends 1.0.14 that in src/xcam.c > the following code uses the uninitialized variable fd:
> if (fd < 0) > return; > load_settings (filename, silent); > sanei_load_values (fd, dialog->dev); > DBG (DBG_debug, "xcam, load_defaults: exit\n"); > } Dead code. load_settings() opens filename and calls sanei_load_values(). Fixed in CVS, thanks. JB. -- Julien BLACHE <http://www.jblache.org> <j...@jblache.org> GPG KeyID 0xF5D65169