All: Fix more warnings

This commit is contained in:
Jeffrey Pfau 2015-02-14 23:47:08 -08:00
parent 2ec2e75634
commit f0e99779d4
2 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ static uint32_t _popcount32(unsigned bits) {
static RETURN ARMDebuggerShim_ ## NAME TYPES { \
struct ARMDebugger* debugger; \
FIND_DEBUGGER(debugger, cpu); \
struct DebuggerEntryInfo info = { }; \
struct DebuggerEntryInfo info; \
if (_checkWatchpoints(debugger, address, &info, WIDTH)) { \
ARMDebuggerEnter(debugger, DEBUGGER_ENTER_WATCHPOINT, &info); \
} \
@ -63,7 +63,7 @@ static uint32_t _popcount32(unsigned bits) {
} \
unsigned i; \
for (i = 0; i < popcount; ++i) { \
struct DebuggerEntryInfo info = { }; \
struct DebuggerEntryInfo info; \
if (_checkWatchpoints(debugger, base + 4 * i, &info, 4)) { \
ARMDebuggerEnter(debugger, DEBUGGER_ENTER_WATCHPOINT, &info); \
} \

View File

@ -186,7 +186,7 @@ static inline int SocketPoll(int nSockets, Socket* reads, Socket* writes, Socket
FD_ZERO(&rset);
FD_ZERO(&wset);
FD_ZERO(&eset);
int i;
Socket i;
Socket maxFd = 0;
if (reads) {
for (i = 0; i < nSockets; ++i) {