Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
19c3d5b7
Unverified
Commit
19c3d5b7
authored
May 10, 2019
by
Salvatore Sanfilippo
Committed by
GitHub
May 10, 2019
Browse files
Merge pull request #6087 from AngusP/linux-build-warnings
[Minor] Fix build warnings on Linux
parents
1212f228
a1fb0be1
Changes
2
Hide whitespace changes
Inline
Side-by-side
deps/hiredis/read.c
View file @
19c3d5b7
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
#include "fmacros.h"
#include "fmacros.h"
#include <string.h>
#include <string.h>
#include <strings.h>
#include <stdlib.h>
#include <stdlib.h>
#ifndef _MSC_VER
#ifndef _MSC_VER
#include <unistd.h>
#include <unistd.h>
...
...
src/redis-check-aof.c
View file @
19c3d5b7
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
snprintf(error, sizeof(error), "0x%16llx: %s", (long long)epos, __buf); \
snprintf(error, sizeof(error), "0x%16llx: %s", (long long)epos, __buf); \
}
}
static
char
error
[
10
2
4
];
static
char
error
[
10
4
4
];
static
off_t
epos
;
static
off_t
epos
;
int
consumeNewline
(
char
*
buf
)
{
int
consumeNewline
(
char
*
buf
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment