Gitweb links:

...log 
http://git.netsurf-browser.org/libcss.git/shortlog/1c1cf39d306428fe91260842082dfc9a66a6a236
...commit 
http://git.netsurf-browser.org/libcss.git/commit/1c1cf39d306428fe91260842082dfc9a66a6a236
...tree 
http://git.netsurf-browser.org/libcss.git/tree/1c1cf39d306428fe91260842082dfc9a66a6a236

The branch, master has been updated
       via  1c1cf39d306428fe91260842082dfc9a66a6a236 (commit)
      from  385769d6554d2d3a9c2c35a04cf5dde706cefb6b (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/libcss.git/commit/?id=1c1cf39d306428fe91260842082dfc9a66a6a236
commit 1c1cf39d306428fe91260842082dfc9a66a6a236
Author: Michael Drake <Michael Drake t...@netsurf-browser.org>
Commit: Michael Drake <Michael Drake t...@netsurf-browser.org>

    select: computed: Squash use of uninitialised variable warning.

diff --git a/src/select/computed.c b/src/select/computed.c
index 4e5588a..a1b345b 100644
--- a/src/select/computed.c
+++ b/src/select/computed.c
@@ -1702,8 +1702,8 @@ css_error compute_absolute_length(css_computed_style 
*style,
                css_error (*set)(css_computed_style *style, uint8_t type,
                                css_fixed len, css_unit unit))
 {
+       css_unit unit = CSS_UNIT_PX;
        css_fixed length;
-       css_unit unit;
        uint8_t type;
 
        type = get(style, &length, &unit);


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

Summary of changes:
 src/select/computed.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/select/computed.c b/src/select/computed.c
index 4e5588a..a1b345b 100644
--- a/src/select/computed.c
+++ b/src/select/computed.c
@@ -1702,8 +1702,8 @@ css_error compute_absolute_length(css_computed_style 
*style,
                css_error (*set)(css_computed_style *style, uint8_t type,
                                css_fixed len, css_unit unit))
 {
+       css_unit unit = CSS_UNIT_PX;
        css_fixed length;
-       css_unit unit;
        uint8_t type;
 
        type = get(style, &length, &unit);


-- 
Cascading Style Sheets library
_______________________________________________
netsurf-commits mailing list -- netsurf-commits@netsurf-browser.org
To unsubscribe send an email to netsurf-commits-le...@netsurf-browser.org

Reply via email to