Skip to content

Commit

Permalink
Some poor initializers
Browse files Browse the repository at this point in the history
  • Loading branch information
attipaci committed Dec 10, 2024
1 parent 12eb938 commit 61e2f97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/postgres-backend.c
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ static int getEnclosingStringLength(const XField *f, int sampling) {
* or else NULL if there was an error.
*/
static TableDescriptor *addVariable(const char *id, const Variable *u) {
ENTRY e = { NULL }, *added = NULL;
ENTRY e = { NULL, NULL }, *added = NULL;
TableDescriptor *desc;
int idx;

Expand Down
2 changes: 1 addition & 1 deletion src/smax-postgres.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ int main(int argc, const char *argv[]) {
{"debug", 'd', POPT_ARG_NONE, &debug, 0, "Turn on console debug messages", NULL},
{"version", 'v', POPT_ARG_NONE, &version, 0, "Print version info only", NULL},
POPT_AUTOHELP
{NULL}
{}
};

poptContext optCon = poptGetContext("smax-postgres", argc, argv, options, 0);
Expand Down

0 comments on commit 61e2f97

Please sign in to comment.