Refactor all methods/functions which have unused param
Bug #621856 reported by
Monty Taylor
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Triaged
|
Low
|
Akash Sinha |
Bug Description
There are many places in the code where we have removed the parameter name from the method definition because it is unused. While this removes the warning, it's probably also a sign that the code needs to be refactored - either to remove the param altogether or to add a method signature that things can use when they don't want to pass in that param.
Related branches
lp:~sinha/drizzle/trunk-bug-621856
On hold
for merging
into
lp:~drizzle-trunk/drizzle/development
- Stewart Smith: Pending requested
- David Shrewsbury: Pending requested
- Vijay Samuel: Pending requested
-
Diff: 213 lines (+49/-50)2 files modifieddrizzled/cursor.h (+46/-47)
drizzled/sql_parse.cc (+3/-3)
Superseded
for merging
into
lp:drizzle/7.0
- Stewart Smith (community): Disapprove
- Vijay Samuel: Needs Fixing
- David Shrewsbury: Pending requested
-
Diff: 213 lines (+49/-50)2 files modifieddrizzled/cursor.h (+46/-47)
drizzled/sql_parse.cc (+3/-3)
lp:~sinha/drizzle/patch-621856
On hold
for merging
into
lp:~drizzle-trunk/drizzle/development
- Lee Bieber (community): Needs Fixing
- Andrew Hutchings: Approve
- Stewart Smith: Pending requested
-
Diff: 231 lines (+21/-22)12 files modifieddrizzled/join.cc (+1/-2)
drizzled/join_cache.cc (+1/-1)
drizzled/sql_lex.h (+1/-1)
drizzled/sql_parse.cc (+3/-3)
drizzled/sql_parse.h (+2/-2)
drizzled/sql_select.cc (+4/-4)
drizzled/sql_select.h (+4/-4)
drizzled/statement/insert.cc (+1/-1)
drizzled/statement/insert_select.cc (+1/-1)
drizzled/statement/replace.cc (+1/-1)
drizzled/statement/replace_select.cc (+1/-1)
drizzled/statement/update.cc (+1/-1)
Superseded
for merging
into
lp:drizzle/7.0
- Stewart Smith: Pending requested
-
Diff: 231 lines (+21/-22)12 files modifieddrizzled/join.cc (+1/-2)
drizzled/join_cache.cc (+1/-1)
drizzled/sql_lex.h (+1/-1)
drizzled/sql_parse.cc (+3/-3)
drizzled/sql_parse.h (+2/-2)
drizzled/sql_select.cc (+4/-4)
drizzled/sql_select.h (+4/-4)
drizzled/statement/insert.cc (+1/-1)
drizzled/statement/insert_select.cc (+1/-1)
drizzled/statement/replace.cc (+1/-1)
drizzled/statement/replace_select.cc (+1/-1)
drizzled/statement/update.cc (+1/-1)
lp:~ashish-turbobit/drizzle/trunk-bug-621856
On hold
for merging
into
lp:~drizzle-trunk/drizzle/development
- Lee Bieber (community): Needs Fixing
-
Diff: 95 lines (+13/-13)1 file modifieddrizzled/sql_base.cc (+13/-13)
Changed in drizzle: | |
milestone: | none → ongoing |
Changed in drizzle: | |
importance: | Medium → Low |
Changed in drizzle: | |
assignee: | nobody → Akash Sinha (sinha) |
To post a comment you must log in.
Is there an easy way to find such functions?