vala r2299 - in trunk: . compiler



Author: juergbi
Date: Fri Jan  9 10:14:22 2009
New Revision: 2299
URL: http://svn.gnome.org/viewvc/vala?rev=2299&view=rev

Log:
2009-01-09  JÃrg Billeter  <j bitron ch>

	* compiler/valacompiler.vala:

	Do not pass null as option to CCodeCompiler


Modified:
   trunk/ChangeLog
   trunk/compiler/valacompiler.vala

Modified: trunk/compiler/valacompiler.vala
==============================================================================
--- trunk/compiler/valacompiler.vala	(original)
+++ trunk/compiler/valacompiler.vala	Fri Jan  9 10:14:22 2009
@@ -321,7 +321,7 @@
 				cc_command = Environment.get_variable ("CC");
 			}
 			if (cc_options == null) {
-				ccompiler.compile (context, cc_command, new string[] { null });
+				ccompiler.compile (context, cc_command, new string[] { });
 			} else {
 				ccompiler.compile (context, cc_command, cc_options);
 			}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]