Author: jmb
Date: Wed Jul 11 00:27:22 2007
New Revision: 3396
URL:
http://source.netsurf-browser.org?rev=3396&view=rev
Log:
Warning fixes
Modified:
trunk/dom/src/core/string.c
Modified: trunk/dom/src/core/string.c
URL:
http://source.netsurf-browser.org/trunk/dom/src/core/string.c?rev=3396&am...
==============================================================================
--- trunk/dom/src/core/string.c (original)
+++ trunk/dom/src/core/string.c Wed Jul 11 00:27:22 2007
@@ -227,7 +227,8 @@
*/
int dom_string_cmp(struct dom_string *s1, struct dom_string *s2)
{
- const uint8_t *d1, *d2;
+ const uint8_t *d1 = NULL;
+ const uint8_t *d2 = NULL;
size_t l1, l2;
dom_exception err;
@@ -254,7 +255,8 @@
*/
int dom_string_icmp(struct dom_string *s1, struct dom_string *s2)
{
- const uint8_t *d1, *d2;
+ const uint8_t *d1 = NULL;
+ const uint8_t *d2 = NULL;
size_t l1, l2;
dom_exception err;