summaryrefslogtreecommitdiff
path: root/scripts/bin2sql.c
diff options
context:
space:
mode:
authorYves-Alexis Perez <corsac@corsac.net>2012-06-28 21:16:07 +0200
committerYves-Alexis Perez <corsac@corsac.net>2012-06-28 21:16:07 +0200
commitb34738ed08c2227300d554b139e2495ca5da97d6 (patch)
tree62f33b52820f2e49f0e53c0f8c636312037c8054 /scripts/bin2sql.c
parent0a9d51a49042a68daa15b0c74a2b7f152f52606b (diff)
downloadvyos-strongswan-b34738ed08c2227300d554b139e2495ca5da97d6.tar.gz
vyos-strongswan-b34738ed08c2227300d554b139e2495ca5da97d6.zip
Imported Upstream version 4.6.4
Diffstat (limited to 'scripts/bin2sql.c')
-rw-r--r--scripts/bin2sql.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/bin2sql.c b/scripts/bin2sql.c
index 8bc72f842..ce5e600a3 100644
--- a/scripts/bin2sql.c
+++ b/scripts/bin2sql.c
@@ -6,7 +6,6 @@
*/
int main(int argc, char *argv[])
{
- int end = 0;
unsigned char byte;
printf("X'");
@@ -14,7 +13,6 @@ int main(int argc, char *argv[])
{
if (fread(&byte, 1, 1, stdin) != 1)
{
- end = 1;
break;
}
printf("%02x", (unsigned int)byte);