voglperf icon indicating copy to clipboard operation
voglperf copied to clipboard

Fix several GCC warnings

Open rilysh opened this issue 2 years ago • 0 comments

  1. webby_data().ws_connections.empty() returns boolean but it's not handled anywhere. Casting with void will suppress it.
  2. In line 346 strncpy is trying to copy the string on the destination which has the same size as the source string. It might overlap string size when the source will be at the same size as destination.

rilysh avatar Mar 22 '23 16:03 rilysh