-
Notifications
You must be signed in to change notification settings - Fork 415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove unused variables #134
Comments
I started doing this some time ago and then reverted, because this was not nearly as straightforward as it sounded. I forget exactly what the problem was (although I can probably quickly figure it out). That said, we can fix most of them in a straightforward manner and we should. I agree that this would lead to cleaner code and would be a good goal. On Jul 9, 2014, at 11:39 AM, Joe Hamman notifications@github.com wrote:
|
closed via #169 |
@jhamman : There are still some unused variables in develop:vic_run/src/CalcBlowingSnow.c
I can delete them, but just want to make sure first that they were not kept for a reason. |
I seem to remember there being a reason that I left some of those around. I think it had to do with the solvers used in |
OK - I seem to remember the same - so I will leave it alone for now. When I have time I may go through and document within CalcBlowingSnow why these vars cannot be deleted. |
Removing the
-Wno-unused
flag from VIC's makefile reveals 401 unused variables in the current VIC source code. I propose these be removed (or used as they were originally intended).The text was updated successfully, but these errors were encountered: