project-navigation
Personal tools

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - f8273

Pages: [1]
1
Linux / Re: Error with svn version.
« on: January 06, 2009, 12:26:32 pm »
I had that error too.
There is an 'if' with an uninitialized variable 'r' in src/client/menu/m_parse.c (around line 695), which seems to cause it. Removing it solved the problem:
Code: [Select]
Index: src/client/menu/m_parse.c
===================================================================
--- src/client/menu/m_parse.c (revision 21599)
+++ src/client/menu/m_parse.c (working copy)
@@ -692,15 +692,12 @@
  case V_SPECIAL_IF:
  {
  menuDepends_t **condition = (menuDepends_t **) ((byte *) object + property->ofs);
- qboolean r;
 
  *token = COM_EParse(text, errhead, objectName);
  if (!*text)
  return qfalse;
 
  *condition = MN_AllocCondition(*token);
- if (!r)
- return qfalse;
  }
  break;

Pages: [1]