Skip to content

fix kqueue to actually work on freebsd

Codacy Production / Codacy Static Code Analysis required action Nov 19, 2024 in 0s

4 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 4
- Added 4
           

Clones added
============
- src/dpp/socketengines/poll.cpp  2
- src/dpp/socketengines/epoll.cpp  2
- src/dpp/socketengines/kqueue.cpp  4
- src/dpp/voice/enabled/handle_frame.cpp  2
- src/dpp/events/guild_member_add.cpp  2
         

See the complete overview on Codacy

Annotations

Check notice on line 97 in src/dpp/socketengines/kqueue.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/dpp/socketengines/kqueue.cpp#L97

Variable 'i' is assigned a value that is never used.

Check notice on line 113 in src/dpp/socketengines/kqueue.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/dpp/socketengines/kqueue.cpp#L113

Variable 'se' is assigned a value that is never used.

Check notice on line 140 in src/dpp/socketengines/kqueue.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/dpp/socketengines/kqueue.cpp#L140

Variable 'i' is assigned a value that is never used.

Check notice on line 140 in src/dpp/socketengines/kqueue.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/dpp/socketengines/kqueue.cpp#L140

Variable 'i' is reassigned a value before the old one has been used.