GNOME Bugzilla – Bug 770652
Fix compiler warning
Last modified: 2016-09-02 12:00:00 UTC
The final return should not be reachable - but there is no way for the compiler to know Just return 0 as last fallback
Created attachment 334536 [details] [review] Fix compiler warning
Review of attachment 334536 [details] [review]: Hey, thanks for the patch! This is actually code from https://github.com/swilmet/gnome-c-utils Can you fix it there first and then we can copy paste the code here?
(In reply to Carlos Soriano from comment #2) > This is actually code from https://github.com/swilmet/gnome-c-utils > Can you fix it there first and then we can copy paste the code here? Of course - I didn't realize that this was imported code
(In reply to Dominique Leuenberger from comment #3) > (In reply to Carlos Soriano from comment #2) > > > This is actually code from https://github.com/swilmet/gnome-c-utils > > Can you fix it there first and then we can copy paste the code here? > > Of course - I didn't realize that this was imported code https://github.com/swilmet/gnome-c-utils/pull/2
(In reply to Dominique Leuenberger from comment #4) > (In reply to Dominique Leuenberger from comment #3) > > (In reply to Carlos Soriano from comment #2) > > > > > This is actually code from https://github.com/swilmet/gnome-c-utils > > > Can you fix it there first and then we can copy paste the code here? > > > > Of course - I didn't realize that this was imported code > > https://github.com/swilmet/gnome-c-utils/pull/2 Upstream merged as https://github.com/swilmet/gnome-c-utils/commit/9c3b1d3ef80b32adf9b185d9a2226417795d78da
Excellent, thanks a lot! *** This bug has been marked as a duplicate of bug 766174 ***
Review of attachment 334536 [details] [review]: Looks good now, thanks!
Attachment 334536 [details] pushed as 2f0a954 - Fix compiler warning
Nautilus could have a script update-lineup-parameters.sh that: - downloads the latest version with wget or curl for example; - adds a comment at the top, like: /* Do not edit: this file is downloaded from <...> */
(In reply to Sébastien Wilmet from comment #9) > Nautilus could have a script update-lineup-parameters.sh that: > - downloads the latest version with wget or curl for example; > - adds a comment at the top, like: > > /* Do not edit: this file is downloaded from <...> */ That's true, however I'm not sure about requiring internet access when building nautilus, and instead I would like to still have this built on make
It's a script that only the maintainer would run from time to time, not automatically. There would still be the copy of the file in the git repo.