Author: cazfi
Date: Tue Jan 19 13:55:19 2016
New Revision: 31489

URL: http://svn.gna.org/viewcvs/freeciv?rev=31489&view=rev
Log:
Renamed variable 'index' as 'slindex' in speclist.h inline functions.

See bug #24277

Modified:
    trunk/utility/speclist.h

Modified: trunk/utility/speclist.h
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/utility/speclist.h?rev=31489&r1=31488&r2=31489&view=diff
==============================================================================
--- trunk/utility/speclist.h    (original)
+++ trunk/utility/speclist.h    Tue Jan 19 13:55:19 2016
@@ -387,10 +387,10 @@
   Return the element at position in the speclist.
 ****************************************************************************/
 static inline SPECLIST_TYPE *
-SPECLIST_FOO(_list_get) (const SPECLIST_LIST *tthis, int index)
+SPECLIST_FOO(_list_get) (const SPECLIST_LIST *tthis, int slindex)
 {
   return ((SPECLIST_TYPE *)
-          genlist_get((const struct genlist *) tthis, index));
+          genlist_get((const struct genlist *) tthis, slindex));
 }
 
 /****************************************************************************
@@ -415,10 +415,10 @@
   Return the element at position in the speclist.
 ****************************************************************************/
 static inline SPECLIST_LINK *
-SPECLIST_FOO(_list_link_get) (const SPECLIST_LIST *tthis, int index)
+SPECLIST_FOO(_list_link_get) (const SPECLIST_LIST *tthis, int slindex)
 {
   return ((SPECLIST_LINK *)
-          genlist_link_get((const struct genlist *) tthis, index));
+          genlist_link_get((const struct genlist *) tthis, slindex));
 }
 
 /****************************************************************************


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to