GNOME Bugzilla – Bug 741058
Avoid a harmless assignment to self, found by Coverity Scan
Last modified: 2015-04-04 21:34:10 UTC
Created attachment 292055 [details] [review]
This patch avoids a Coverity warning and seems to slightly improve the code anyway.
Well this seems quite an obvious fix, so I took on me to validate and push the commit:
Author: Murray Cumming <email@example.com>
Date: Wed Dec 3 09:26:33 2014 +0100
libgimpbase: Avoid an assignment to self.
gimp_param_unit_value_validate() set a value to itself to not
change the value, which was strange though not particularly wrong.
Found by Coverity Scan.