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:
@@ -790,7 +790,7 @@ class EditorExportPlatformAndroid : public EditorExportPlatform {
|
||||
|
||||
if (tname == "manifest" && attrname == "versionName") {
|
||||
if (attr_value == 0xFFFFFFFF) {
|
||||
WARN_PRINT("Version name in a resource, should be plaintext")
|
||||
WARN_PRINT("Version name in a resource, should be plain text");
|
||||
} else
|
||||
string_table.write[attr_value] = version_name;
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -1144,7 +1144,7 @@ void OS_JavaScript::set_icon(const Ref<Image> &p_icon) {
|
||||
Ref<Image> icon = p_icon;
|
||||
if (icon->is_compressed()) {
|
||||
icon = icon->duplicate();
|
||||
ERR_FAIL_COND(icon->decompress() != OK)
|
||||
ERR_FAIL_COND(icon->decompress() != OK);
|
||||
}
|
||||
if (icon->get_format() != Image::FORMAT_RGBA8) {
|
||||
if (icon == p_icon)
|
||||
|
||||
Reference in New Issue
Block a user