FreeRDP / FreeRDP-old

DEPRECATED VERSION - Check https://github.com/FreeRDP/FreeRDP : FreeRDP is a free remote desktop protocol client

Home Page:http://www.freerdp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dead code fragments

tenchman opened this issue · comments

There are a lot of dead code fragments all over the source only visible if compiled with '-Wunused-but-set-variable'. I'm not really sure whether it is only dead code or in some cases hidden bugs.

@tenchman: I'm pretty sure most of them come out of capabilities.c, where some variables are populated from server capabilities and then unused. It's not much of a problem though, they're not hidden bugs. I'll see how I can work around this in 1.0.

__attribute__((unused)) could be useful to eliminate those warnings.