[X2Go-Commits] [x2gokdrive] 11/12: x2gokdriveremote.c: Attribute ln integer as _X_UNUSED.
git-admin at x2go.org
git-admin at x2go.org
Tue Jul 16 17:09:21 CEST 2019
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2gokdrive.
commit 99806b85e259e13f4c34ab03addaf5dd8ad9ebde
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Tue Jul 16 17:01:14 2019 +0200
x2gokdriveremote.c: Attribute ln integer as _X_UNUSED.
---
x2gokdriveremote.c | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/x2gokdriveremote.c b/x2gokdriveremote.c
index 8bcdbac..f27bf37 100644
--- a/x2gokdriveremote.c
+++ b/x2gokdriveremote.c
@@ -301,7 +301,8 @@ void remote_sendCursor(CursorPtr cursor)
static
int32_t send_cursor(struct cursorFrame* cursor)
{
- int ln, l = 0;
+ _X_UNUSED int ln = 0;
+ int l = 0;
int sent=0;
unsigned char buffer[64] = {0};
@@ -349,7 +350,8 @@ int32_t send_frame(u_int32_t width, uint32_t height, uint32_t x, uint32_t y, uin
{
uint32_t numofregions=0;
- int ln, l = 0;
+ _X_UNUSED int ln = 0;
+ int l = 0;
uint32_t total=0;
int sent = 0;
unsigned char buffer[64] = {0};
@@ -431,7 +433,8 @@ int send_deleted_elements(void)
unsigned char buffer[56] = {0};
unsigned char* list = NULL;
- int ln, l = 0;
+ _X_UNUSED int ln = 0;
+ int l = 0;
int length, sent=0;
unsigned int i = 0;
@@ -479,7 +482,8 @@ int send_deleted_cursors(void)
{
unsigned char buffer[56] = {0};
unsigned char* list = NULL;
- int ln, l = 0;
+ _X_UNUSED int ln = 0;
+ int l = 0;
int length, sent = 0;
unsigned int i=0;
struct deletedCursor* elem = NULL;
@@ -524,7 +528,8 @@ int send_deleted_cursors(void)
int send_selection(int sel, char* data, uint32_t length, uint32_t format)
{
unsigned char buffer[56] = {0};
- int ln, l = 0;
+ _X_UNUSED int ln = 0;
+ int l = 0;
int sent = 0;
*((uint32_t*)buffer)=SELECTION;
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git
More information about the x2go-commits
mailing list