-
Notifications
You must be signed in to change notification settings - Fork 4
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
[¿Bug?] A couple of compile warnings may denote coding flaws #27
Comments
@nephros, I am trying to revive FileCase and would appreciate very much, if you look at these. If the code is too convoluted to comprehend how to resolve one or multiple of these warnings within appropriate time, ultimately "it is just a bunch of warnings". |
https://github.com/sailfishos-applications/filecase/blob/devel/src/search.cpp#L289 Well, it's an unused parameter. To "fix" that warning you can add some noop that uses the |
Well, |
filecase/src/dropbox/dropbox.h Line 37 in b5c44fa
and includes a value called INVALID. This is not handled in the switch statement at filecase/src/dropbox/dropbox.cpp Line 35 in b5c44fa
The Warning could be fixed by handling the INVALID case in the switch (maybe log a warning or so). But I haven't studied the code to say whether the omission was intentional. |
Meh, totally harmless. Trivial fix by doing something like
(I love casting things into the void.) Although running an external command should probably be handled in a more advanced fashion than just firing the external command and hoping it succeeds. |
Addendum to the unused parms: There is also the Qt |
@nephros, thank you, your feedback is much appreciated! It was exactly what I wanted, both in form and content:
Consequently I plan to address higher priority tasks first (e.g. Transifex integration), then take care about the two issues I should be able to rectify easily by the help of your guidance and lastly I may come back to you for addressing the final ones (sure not this year). |
The text was updated successfully, but these errors were encountered: