diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-12 02:29:27 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-12 02:29:27 (EDT) |
commit | 561821dd8aa9cd567e4fb7268f4ad243fddd4967 (patch) | |
tree | aeeb1ba6642fa15c59022d4dc4946a9624db1153 | |
parent | 8247519f1b528c65f8edf08da9d0de56f559fed0 (diff) | |
download | marquee-561821dd8aa9cd567e4fb7268f4ad243fddd4967.zip marquee-561821dd8aa9cd567e4fb7268f4ad243fddd4967.tar.gz marquee-561821dd8aa9cd567e4fb7268f4ad243fddd4967.tar.bz2 |
mq_web_view_load_uri(): Drop NULL check
In the current codebase, a NULL uri argument isn't (read: shouldn't be)
possible.
-rw-r--r-- | src/web-view.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/web-view.c b/src/web-view.c index d6d1f69..7950fe0 100644 --- a/src/web-view.c +++ b/src/web-view.c @@ -703,11 +703,6 @@ mq_web_view_load_uri(MqWebView *web_view, const gchar *uri) { gchar *rw_uri; - /* Unlike webkit_web_view_load_uri(), allow NULL. */ - if (!uri) { - return; - } - if (web_view->uri) { g_free(web_view->uri); } |