Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/41f30992aa92308a93c46fd8bdd80971e6e5e7e0
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/41f30992aa92308a93c46fd8bdd80971e6e5e7e0
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/41f30992aa92308a93c46fd8bdd80971e6e5e7e0

The branch, master has been updated
       via  41f30992aa92308a93c46fd8bdd80971e6e5e7e0 (commit)
      from  ba0283f52694447710f483c9355e9432e1e2f9e3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=41f30992aa92308a93c46fd8bdd80971e6e5e7e0
commit 41f30992aa92308a93c46fd8bdd80971e6e5e7e0
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>

    Messages: Return the unknown message if we get to the unhandled errorcode.
    
    We shouldn't get there though.

diff --git a/utils/messages.c b/utils/messages.c
index bca1b47..0ff90b7 100644
--- a/utils/messages.c
+++ b/utils/messages.c
@@ -452,6 +452,7 @@ const char *messages_get_errorcode(nserror code)
         * never get here.
         */
        assert(0);
+       return messages_get_ctx("Unknown", messages_hash);
 }
 
 


-----------------------------------------------------------------------

Summary of changes:
 utils/messages.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/utils/messages.c b/utils/messages.c
index bca1b47..0ff90b7 100644
--- a/utils/messages.c
+++ b/utils/messages.c
@@ -452,6 +452,7 @@ const char *messages_get_errorcode(nserror code)
         * never get here.
         */
        assert(0);
+       return messages_get_ctx("Unknown", messages_hash);
 }
 
 


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to