GNOME Bugzilla – Bug 736892
rtpmanager: Removed unwanted variable and assignment
Last modified: 2014-09-24 00:00:50 UTC
Created attachment 286486 [details] [review] rtpmanager: Removed unwanted variable and assignment Removed unwanted variable and assignment
Comment on attachment 286486 [details] [review] rtpmanager: Removed unwanted variable and assignment The problem here is the ret=FALSE assignment which is overwritten again later by ret=klass->foo without having been used in the mean time. I think ret = klass->foo(); return ret; is not a bad pattern stylistically, don't see why the variable can't stay.
commit 26a1344f377449214010cf43707ac70bf241aa26 Author: Sanjay NM <sanjay.nm@samsung.com> Date: Thu Sep 18 16:04:03 2014 +0530 Miscellaneous minor cleanups Fix redundant variables and assignments, and unreachable breaks. https://bugzilla.gnome.org/show_bug.cgi?id=736875 https://bugzilla.gnome.org/show_bug.cgi?id=736876 https://bugzilla.gnome.org/show_bug.cgi?id=736879 https://bugzilla.gnome.org/show_bug.cgi?id=736880 https://bugzilla.gnome.org/show_bug.cgi?id=736881 https://bugzilla.gnome.org/show_bug.cgi?id=736888 https://bugzilla.gnome.org/show_bug.cgi?id=736890 https://bugzilla.gnome.org/show_bug.cgi?id=736892 https://bugzilla.gnome.org/show_bug.cgi?id=736893 https://bugzilla.gnome.org/show_bug.cgi?id=736894