entab: Fix some compiler warnings
This commit is contained in:
parent
991f3e5ab3
commit
5bb2ddc0af
@ -14,6 +14,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#if defined(WIN32) || defined(__CYGWIN__)
|
||||
#define PG_BINARY_R "rb"
|
||||
@ -181,10 +182,12 @@ main(int argc, char **argv)
|
||||
if (*src == '\\')
|
||||
escaped = TRUE;
|
||||
if (*src == '"' || *src == '\'')
|
||||
{
|
||||
if (quote_char == ' ')
|
||||
quote_char = *src;
|
||||
else if (*src == quote_char)
|
||||
quote_char = ' ';
|
||||
}
|
||||
}
|
||||
else if (*src != '\r' && *src != '\n')
|
||||
escaped = FALSE;
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user