Fix error macro calls not ending with semicolon
It's not necessary, but the vast majority of calls of error macros do have an ending semicolon, so it's best to be consistent. Most WARN_DEPRECATED calls did *not* have a semicolon, but there's no reason for them to be treated differently.
This commit is contained in:
@@ -914,7 +914,7 @@ Error EditorExportPlatformIOS::export_project(const Ref<EditorExportPreset> &p_p
|
||||
};
|
||||
|
||||
DirAccess *tmp_app_path = DirAccess::create_for_path(dest_dir);
|
||||
ERR_FAIL_COND_V(!tmp_app_path, ERR_CANT_CREATE)
|
||||
ERR_FAIL_COND_V(!tmp_app_path, ERR_CANT_CREATE);
|
||||
|
||||
print_line("Unzipping...");
|
||||
FileAccess *src_f = NULL;
|
||||
|
||||
@@ -138,7 +138,7 @@ Variant nsobject_to_variant(NSObject *object) {
|
||||
//this is a type that icloud supports...but how did you submit it in the first place?
|
||||
//I guess this is a type that *might* show up, if you were, say, trying to make your game
|
||||
//compatible with existing cloud data written by another engine's version of your game
|
||||
WARN_PRINT("NSDate unsupported, returning null Variant")
|
||||
WARN_PRINT("NSDate unsupported, returning null Variant");
|
||||
return Variant();
|
||||
} else if ([object isKindOfClass:[NSNull class]] or object == nil) {
|
||||
return Variant();
|
||||
|
||||
Reference in New Issue
Block a user