Skip to content

Commit

Permalink
db_mysql: fix uninitialized warning
Browse files Browse the repository at this point in the history
(cherry picked from commit 514ba03)
  • Loading branch information
rvlad-patrascu committed Sep 13, 2018
1 parent c649a37 commit aa233ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/db_mysql/db_mysql.c
Expand Up @@ -97,7 +97,7 @@ struct module_exports exports = {

static int mysql_mod_init(void)
{
struct ip_addr *ip;
struct ip_addr *ip = NULL;
unsigned int port = 0;
str domain;

Expand Down

0 comments on commit aa233ea

Please sign in to comment.