diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-05-03 14:59:40 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-05-03 14:59:40 +0200 |
commit | da207036f8e9f4b8e431bbabba30813b5d65cbf8 (patch) | |
tree | 989ee43889849b5a30826f16050ec873f7179656 /tracker-rift-080 | |
parent | a42d3b16dd94aa3d2703431d72fdf995e5a92299 (diff) |
tracker/{rift,steamvr}: rename reserved identifier
Could be declared as macro.
Issue: #771
Diffstat (limited to 'tracker-rift-080')
-rw-r--r-- | tracker-rift-080/ftnoir_tracker_rift_080.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tracker-rift-080/ftnoir_tracker_rift_080.cpp b/tracker-rift-080/ftnoir_tracker_rift_080.cpp index c9f5e4ee..896ad8ef 100644 --- a/tracker-rift-080/ftnoir_tracker_rift_080.cpp +++ b/tracker-rift-080/ftnoir_tracker_rift_080.cpp @@ -58,11 +58,11 @@ error: err.ErrorString[0] = '\0'; ovr_GetLastErrorInfo(&err); - QString strerror(err.ErrorString); - if (strerror.size() == 0) - strerror = "Unknown reason"; + QString error_string(err.ErrorString); + if (error_string.size() == 0) + error_string = "Unknown reason"; - return error(strerror); + return error(error_string); } void rift_tracker_080::data(double *data) |