Gitweb links:

...log 
http://git.netsurf-browser.org/libnslog.git/shortlog/bb1761f596e792fa2552ad246b603a9a58d4ecae
...commit 
http://git.netsurf-browser.org/libnslog.git/commit/bb1761f596e792fa2552ad246b603a9a58d4ecae
...tree 
http://git.netsurf-browser.org/libnslog.git/tree/bb1761f596e792fa2552ad246b603a9a58d4ecae

The branch, master has been updated
       via  bb1761f596e792fa2552ad246b603a9a58d4ecae (commit)
      from  63fc81f84d3ecbbeb5ae336dae0f1be07aa329b4 (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/libnslog.git/commit/?id=bb1761f596e792fa2552ad246b603a9a58d4ecae
commit bb1761f596e792fa2552ad246b603a9a58d4ecae
Author: John-Mark Bell <[email protected]>
Commit: John-Mark Bell <[email protected]>

    Silence compiler warning

diff --git a/src/filter-lexer.l b/src/filter-lexer.l
index bbd11eb..f640d48 100644
--- a/src/filter-lexer.l
+++ b/src/filter-lexer.l
@@ -26,6 +26,8 @@
 #define YYLTYPE FILTER_LTYPE
 #endif
 
+/* Ensure we use yylloc to silence "variable `yylloc` set but not used" 
warning */
+#define YY_USER_ACTION yylloc->first_line = yylloc->last_line = yylineno;
 %}
 
 


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

Summary of changes:
 src/filter-lexer.l |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/filter-lexer.l b/src/filter-lexer.l
index bbd11eb..f640d48 100644
--- a/src/filter-lexer.l
+++ b/src/filter-lexer.l
@@ -26,6 +26,8 @@
 #define YYLTYPE FILTER_LTYPE
 #endif
 
+/* Ensure we use yylloc to silence "variable `yylloc` set but not used" 
warning */
+#define YY_USER_ACTION yylloc->first_line = yylloc->last_line = yylineno;
 %}
 
 


-- 
NetSurf Parametric Logging Library

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

Reply via email to