Skip to content

Commit a5adc0f

Browse files
committed
Fix compiler warnings
1 parent 26d7546 commit a5adc0f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/icingadb/redisconnection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ void RedisConnection::EnqueueCallback(const std::function<void(boost::asio::yiel
224224
auto ctime (Utility::GetTime());
225225

226226
asio::post(m_Strand, [this, callback, priority, ctime]() {
227-
m_Queues.Writes[priority].emplace(WriteQueueItem{nullptr, nullptr, nullptr, nullptr, callback, ctime});
227+
m_Queues.Writes[priority].emplace(WriteQueueItem{nullptr, nullptr, nullptr, nullptr, callback, ctime, QueryAffects{}});
228228
m_QueuedWrites.Set();
229229
});
230230
}

tools/mkclass/class_lexer.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ do { \
2626
} while (0)
2727

2828
struct lex_buf {
29-
char *buf;
30-
size_t size;
29+
char *buf = NULL;
30+
size_t size = 0;
3131
};
3232

3333
static void lb_init(lex_buf *lb)

0 commit comments

Comments
 (0)