mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed compiler warning
This commit is contained in:
parent
945cd7a80a
commit
e089c20ce8
@ -9411,7 +9411,7 @@ int check_drafts(LOGBOOK * lbs)
|
|||||||
{
|
{
|
||||||
time_t now;
|
time_t now;
|
||||||
char draft[256], title[256], datetime[256];
|
char draft[256], title[256], datetime[256];
|
||||||
int i, n_draft, *draft_id;
|
int i, n_draft, *draft_id = NULL;
|
||||||
|
|
||||||
/* if we got here already and user clicked "Create new entry", ignore is set and we skip this */
|
/* if we got here already and user clicked "Create new entry", ignore is set and we skip this */
|
||||||
if (isparam("ignore"))
|
if (isparam("ignore"))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user