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] 0001-libgimpbase-Avoid-an-assignment-to-self.patch 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: commit 58a557d8008fb4b5598fb9ce3be863dd3d21f3c7 Author: Murray Cumming <murrayc@murrayc.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.