diff options
author | Milian Wolff <milian.wolff@kdab.com> | 2020-05-15 17:24:26 +0000 |
---|---|---|
committer | Milian Wolff <milian.wolff@kdab.com> | 2020-05-18 08:59:47 +0000 |
commit | ba3ed7078acca457740139b30604649656842d91 (patch) | |
tree | d2b3baecfaafa6f5d39f9e9fb83e64162f08cebb | |
parent | 33ad832d3a5d71978cc8607d3d12a38136d3bb73 (diff) |
Revert "Fix GCC warning"
This reverts commit 33ad832d3a5d71978cc8607d3d12a38136d3bb73.
Reason for revert: This introduces an infinite loop
Change-Id: I6cfbdfaa38d905a1537e4b5fdf2aad80031e9194
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r-- | app/perfattributes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/perfattributes.cpp b/app/perfattributes.cpp index d13f9ac..3493d6b 100644 --- a/app/perfattributes.cpp +++ b/app/perfattributes.cpp @@ -25,7 +25,7 @@ PerfEventAttributes::PerfEventAttributes() { - *this = PerfEventAttributes{}; + memset(this, 0, sizeof(PerfEventAttributes)); } QDataStream &operator>>(QDataStream &stream, PerfEventAttributes &attrs) |