Initialize global variables in sane_init.

merge-requests/1/head
Henning Geinitz 2003-04-02 15:02:42 +00:00
rodzic 94c80d74aa
commit 284ff7a543
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -14,7 +14,8 @@
as active maintainer because his primary email address bounces,
and he doesn't respond to mails to other addresses. Marked email
addresses and website as dead. Fixed AT3 misdectection that was
on the TODO list for some time.
on the TODO list for some time. Initialize global variables in
sane_init.
2003-03-31 Henning Meier-Geinitz <henning@meier-geinitz.de>

Wyświetl plik

@ -2580,6 +2580,7 @@ sane_init (SANE_Int * version_code, SANE_Auth_Callback authorize)
DBG (7, "sane_init()\n" );
devlist = 0;
/* make sure these 2 are empty */
strcpy (artec_vendor, "");
strcpy (artec_model, "");