[rkward] rkward/rbackend: Silence a krazy false-positive (i18n() in the backend is our own, dumber, version, as we do not depend on ki18n in the backend)
Thomas Friedrichsmeier
null at kde.org
Sun Apr 15 20:07:52 UTC 2018
Git commit 5d1f3b3dfb1da95b5c668995d2a2a6376010a0b4 by Thomas Friedrichsmeier.
Committed on 15/04/2018 at 20:07.
Pushed by tfry into branch 'master'.
Silence a krazy false-positive (i18n() in the backend is our own, dumber, version, as we do not depend on ki18n in the backend)
M +2 -2 rkward/rbackend/rkrbackend.cpp
https://commits.kde.org/rkward/5d1f3b3dfb1da95b5c668995d2a2a6376010a0b4
diff --git a/rkward/rbackend/rkrbackend.cpp b/rkward/rbackend/rkrbackend.cpp
index 541d9daa..61f4e8a5 100644
--- a/rkward/rbackend/rkrbackend.cpp
+++ b/rkward/rbackend/rkrbackend.cpp
@@ -524,7 +524,7 @@ void RCleanUp (SA_TYPE saveact, int status, int RunLast) {
if (saveact != SA_SUICIDE) {
if (!RKRBackend::this_pointer->isKilled ()) {
RBackendRequest request (true, RBackendRequest::BackendExit);
- request.params["message"] = QVariant (i18n ("The R engine has shut down with status: %1").arg (status));
+ request.params["message"] = QVariant (i18n ("The R engine has shut down with status: %1").arg (status)); // krazy:exclude=i18ncheckarg
RKRBackend::this_pointer->handleRequest (&request);
}
@@ -543,7 +543,7 @@ void RSuicide (const char* message) {
if (!RKRBackend::this_pointer->isKilled ()) {
RBackendRequest request (true, RBackendRequest::BackendExit);
- request.params["message"] = QVariant (i18n ("The R engine has encountered a fatal error:\n%1").arg (message));
+ request.params["message"] = QVariant (i18n ("The R engine has encountered a fatal error:\n%1").arg (message)); // krazy:exclude=i18ncheckarg
RKRBackend::this_pointer->handleRequest (&request);
RKRBackend::this_pointer->killed = RKRBackend::EmergencySaveThenExit;
RCleanUp (SA_SUICIDE, 1, 0);
More information about the rkward-tracker
mailing list