From b8aefb5fce5fe40daeac145f39494de08a4f8496 Mon Sep 17 00:00:00 2001 From: Mo Chen Date: Tue, 12 Sep 2023 16:35:26 -0500 Subject: [PATCH] This fixes CID 1518257 * Initialize _fd to a dummy value. --- iocore/net/AsyncSignalEventIO.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iocore/net/AsyncSignalEventIO.h b/iocore/net/AsyncSignalEventIO.h index 4786df30dc2..515b0c1933d 100644 --- a/iocore/net/AsyncSignalEventIO.h +++ b/iocore/net/AsyncSignalEventIO.h @@ -35,5 +35,5 @@ class AsyncSignalEventIO : public EventIO void process_event(int flags) override; private: - int _fd; + int _fd = -1; };