aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Seebach <peter.seebach@windriver.com>2016-05-18 14:53:56 -0500
committerPeter Seebach <peter.seebach@windriver.com>2016-05-18 14:53:56 -0500
commit2fec219b1da13e1e9f6bee24b26b3a9f7e728902 (patch)
tree83b312897e88830f8f7c25f7d3c6a70781f555a9
parent828f86af77e614e906c94f3bede3ea4c7f929873 (diff)
downloadpseudo-2fec219b1da13e1e9f6bee24b26b3a9f7e728902.tar.gz
pseudo-2fec219b1da13e1e9f6bee24b26b3a9f7e728902.tar.bz2
pseudo-2fec219b1da13e1e9f6bee24b26b3a9f7e728902.zip
fix initializer warnings in pseudo_db.c
-rw-r--r--pseudo_db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pseudo_db.c b/pseudo_db.c
index bbbf15a..f13677e 100644
--- a/pseudo_db.c
+++ b/pseudo_db.c
@@ -72,11 +72,11 @@ typedef struct { char *fmt; int arg; } id_row;
*/
static id_row files_default_migrations[] = {
{ "%d, -1, 'N/A (initial setup)'", 8 },
- { NULL },
+ { NULL, 0 },
};
static id_row logs_default_migrations[] = {
{ "%d, -1, 'N/A (initial setup)'", 7 },
- { NULL },
+ { NULL, 0 },
};
/* This seemed like a really good idea at the time. The idea is that these
* structures let me write semi-abstract code to "create a database" without