fixed Cppcheck unusedVariable warnings

This commit is contained in:
firewave 2023-09-04 23:47:56 +02:00
parent deb8a317ba
commit 27d34e784d
5 changed files with 0 additions and 13 deletions

View File

@ -466,8 +466,6 @@ create_window(void)
{
WNDCLASS wc;
DWORD style;
HDC dc;
int height;
int left;
int top;

View File

@ -94,10 +94,7 @@ xrdp_surface_send_surface_bits(struct xrdp_surface *self, int bpp, char *data,
int x, int y, int cx, int cy)
{
RFX_RECT rect;
char *buf;
int Bpp;
int i;
int j;
int codecId;
uint32 bitmapDataLength;
STREAM *s;

View File

@ -723,7 +723,6 @@ SCardControl(SCARDHANDLE hCard, DWORD dwControlCode, LPCVOID lpInBuffer,
DWORD nOutBufferSize, LPDWORD lpBytesReturned)
{
LONG rv;
char text[8148];
LLOGLN(10, ("SCardControl:"));
LLOGLN(10, (" hCard %p", hCard));

View File

@ -131,8 +131,6 @@ int tcp_listen(int skt)
int tcp_accept(int skt)
{
int ret ;
char ipAddr[256] ;
struct sockaddr_in s;
socklen_t i;

View File

@ -56,14 +56,9 @@ extract_32(uint32_t *value, char *buf)
int
main(int argc, char **argv)
{
char *data;
char *data1;
void *channel;
int written = 0;
int rv;
int first_time = 1;
int length;
int bytes_read;
if (argc < 2)
{