Commit e8042c9f authored by Mike Gabriel's avatar Mike Gabriel

hw/nxagent/GC.c: Don't declare and assign flexibility variable if not used later on.

Amends the following compiler warning: ``` GC.c: In function ‘nxagentReconnectAllGCs’: GC.c:1154:7: warning: variable ‘flexibility’ set but not used [-Wunused-but-set-variable] int flexibility; ^ ```
parent 7876d1f2
......@@ -1151,12 +1151,9 @@ static void nxagentReconnectGC(void *param0, XID param1, void * param2)
Bool nxagentReconnectAllGCs(void *p0)
{
int flexibility;
int cid;
Bool GCSuccess = True;
flexibility = *(int*)p0;
#ifdef DEBUG
fprintf(stderr, "nxagentReconnectAllGCs\n");
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment