https://bugs.kde.org/show_bug.cgi?id=421076

Tymond <tamtamy.tym...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/kde/
                   |                            |krita/commit/c2ffbc6b19ac96
                   |                            |6b231cc8edea13533ac56a310c

--- Comment #1 from Tymond <tamtamy.tym...@gmail.com> ---
Git commit c2ffbc6b19ac966b231cc8edea13533ac56a310c by Agata Cacko.
Committed on 05/05/2020 at 22:48.
Pushed by tymond into branch 'master'.

Move asserts before usage of a variable

Before this commit, there were two asserts that were checked
only after both of the variables were used. This means that instead of
asserting, Krita would crash. It probaby doesn't change much in case of
Q_ASSERTs (it would be different with asserts that allows recovering)
but nonetheless, it makes no sense to assert after using a variable.
This commit moves the asserts above the usage.

M  +2    -2    libs/pigment/KoColorConversionSystem.cpp

https://invent.kde.org/kde/krita/commit/c2ffbc6b19ac966b231cc8edea13533ac56a310c

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to