Skip to content

Commit

Permalink
Merge pull request neutrinolabs#2787 from firewave/unusedVariable
Browse files Browse the repository at this point in the history
fixed Cppcheck `unusedVariable` warnings
  • Loading branch information
matt335672 authored Sep 5, 2023
2 parents deb8a31 + 27d34e7 commit 98f45ba
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 13 deletions.
2 changes: 0 additions & 2 deletions fontutils/windows/fontdump.c
Original file line number Diff line number Diff line change
Expand Up @@ -466,8 +466,6 @@ create_window(void)
{
WNDCLASS wc;
DWORD style;
HDC dc;
int height;
int left;
int top;

Expand Down
3 changes: 0 additions & 3 deletions libxrdp/xrdp_surface.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion sesman/chansrv/pcsc/wrapper/winscard.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 0 additions & 2 deletions tools/devel/gtcp_proxy/gtcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
5 changes: 0 additions & 5 deletions xrdpapi/vrplayer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 98f45ba

Please sign in to comment.