mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-21 06:08:38 -04:00
check_dbi: Fix compiler warning for uninitialized variable
This commit is contained in:
parent
47cb10013e
commit
0c92b39083
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ main (int argc, char **argv)
|
|||
if (verbose > 2)
|
||||
printf ("Initializing DBI\n");
|
||||
|
||||
dbi_inst *instance_p;
|
||||
dbi_inst *instance_p = { 0 };
|
||||
|
||||
if (dbi_initialize_r(NULL, instance_p) < 0) {
|
||||
printf ("UNKNOWN - failed to initialize DBI; possibly you don't have any drivers installed.\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue