You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 6, 2019. It is now read-only.
Logic error: Branch condition evaluates to a garbage value
1: Calling 'tcp_client::process_write' in tacopie/sources/network/tcp_client.cpp:174
2: Assuming the condition is true in tacopie/sources/network/tcp_client.cpp:218
3: Returning from 'tcp_client::process_write' in tacopie/sources/network/tcp_client.cpp:174
4: Branch condition evaluates to a garbage value in tacopie/sources/network/tcp_client.cpp:176
The value result.success seems never to be initialized anywhere here:
read_result result;
auto callback = process_read(result);
if (!result.success) {
__TACOPIE_LOG(warn, "read operation failure");
disconnect();
}
While I see that process_read() does the initialization, I'm wondering whether there's something else missing.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Clang analyzer shows this error:
Logic error: Branch condition evaluates to a garbage value
1: Calling 'tcp_client::process_write' in tacopie/sources/network/tcp_client.cpp:174
2: Assuming the condition is true in tacopie/sources/network/tcp_client.cpp:218
3: Returning from 'tcp_client::process_write' in tacopie/sources/network/tcp_client.cpp:174
4: Branch condition evaluates to a garbage value in tacopie/sources/network/tcp_client.cpp:176
The value
result.success
seems never to be initialized anywhere here:While I see that process_read() does the initialization, I'm wondering whether there's something else missing.
The text was updated successfully, but these errors were encountered: