Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13115445
D8648.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D8648.diff
View Options
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -214,6 +214,7 @@
-Wshadow-field
-Wrange-loop-analysis
-Wredundant-decls
+ -Wunreachable-code-loop-increment
)
add_compiler_flag_group(-Wformat -Wformat-security)
add_cxx_compiler_flags(
diff --git a/src/util/translation.h b/src/util/translation.h
--- a/src/util/translation.h
+++ b/src/util/translation.h
@@ -23,6 +23,8 @@
translated += rhs.translated;
return *this;
}
+
+ bool empty() const { return original.empty(); }
};
inline bilingual_str operator+(bilingual_str lhs, const bilingual_str &rhs) {
diff --git a/test/functional/feature_config_args.py b/test/functional/feature_config_args.py
--- a/test/functional/feature_config_args.py
+++ b/test/functional/feature_config_args.py
@@ -85,7 +85,6 @@
inc_conf_file_path +
':1 Section [testnot] is not recognized.' +
os.linesep +
- 'Warning: ' +
inc_conf_file2_path +
':1 Section [testnet] is not recognized.')
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 1, 11:06 (19 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5183752
Default Alt Text
D8648.diff (1 KB)
Attached To
D8648: refactor: Fix unreachable code in init arg checks
Event Timeline
Log In to Comment