Переглянути джерело

Fixed compilation warning

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8191 54d463be-8e91-2dee-dedb-b68131a5f0ec
toms 19 роки тому
батько
коміт
c2b0590289
3 змінених файлів з 3 додано та 2 видалено
  1. 1 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/skill.c
  3. 1 1
      vcproj-8/map-server_sql.vcproj

+ 1 - 0
Changelog-Trunk.txt

@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 2006/08/08
+	* Fixed compilation warning [Toms]
 	* Added a check to handle Spider Web as a targetted skill. If there's more
 	  than one character on the targetted cell, a different one may get trapped,
 	  but it will mostly do as it is now. [Skotlex]

+ 1 - 1
src/map/skill.c

@@ -5598,7 +5598,7 @@ int skill_castend_id (int tid, unsigned int tick, int id, int data)
 	struct homun_data* hd = NULL;	//[orn]
 	struct mob_data* md = NULL;
 	struct unit_data* ud = unit_bl2ud(src);
-	struct status_change *sc;
+	struct status_change *sc = NULL;
 	int inf,inf2;
 
 	nullpo_retr(0, ud);

+ 1 - 1
vcproj-8/map-server_sql.vcproj

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="Windows-1252"?>
 <VisualStudioProject
 	ProjectType="Visual C++"
-	Version="8.00"
+	Version="8,00"
 	Name="map-server_sql"
 	ProjectGUID="{D356871D-58E1-450B-967A-E6E9646175AF}"
 	RootNamespace="map-server_sql"