diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-31 13:35:02 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-31 13:35:02 +0200 |
commit | dc9feb69f86b7c8e4f7b52ea6b4a18abd64b036b (patch) | |
tree | e2bda8bb4d0162521cff8ef665eeda5080bc0205 /sal | |
parent | 747631f26c90f5077da5628a32fc642aaea8167d (diff) |
Move invariant writes outside loop
Change-Id: Ia254fe382a00be13a631fcc1b23f940352d8d3ba
Diffstat (limited to 'sal')
-rw-r--r-- | sal/cppunittester/cppunittester.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx index 0f4d58a06b48..c2bdb13df353 100644 --- a/sal/cppunittester/cppunittester.cxx +++ b/sal/cppunittester/cppunittester.cxx @@ -115,9 +115,9 @@ public: { tn[i] = '_'; } - tn[len] = '_'; - tn[len + 1] = 0; } + tn[len] = '_'; + tn[len + 1] = 0; setenv("LO_TESTNAME", tn, true); delete[] tn; } |