Browse Source

remove extra null check in formatOutput. It is not needed. (#8138)

lublak 6 years ago
parent
commit
3ed5b8eb0e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/haxe/Log.hx

+ 1 - 1
std/haxe/Log.hx

@@ -35,7 +35,7 @@ class Log {
 		if( infos == null )
 		if( infos == null )
 			return str;
 			return str;
 		var pstr = infos.fileName + ":" + infos.lineNumber;
 		var pstr = infos.fileName + ":" + infos.lineNumber;
-		if( infos != null && infos.customParams != null ) for( v in infos.customParams ) str += ", " + Std.string(v);
+		if( infos.customParams != null ) for( v in infos.customParams ) str += ", " + Std.string(v);
 		return pstr+": "+str;
 		return pstr+": "+str;
 	}
 	}