branch: externals/sql-indent
commit 889cf3fbb9b6b37bdc55a10b208732969f3db68e
Author: Alex Harsanyi <[email protected]>
Commit: Alex Harsanyi <[email protected]>

    silence byte compiler warnings
---
 sql-indent.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sql-indent.el b/sql-indent.el
index 72d8fc5..91b1f4a 100644
--- a/sql-indent.el
+++ b/sql-indent.el
@@ -1709,7 +1709,7 @@ If this rule is added to the 'in-select-clause syntax 
after the
 with AND, OR or NOT to be aligned so they sit under the WHERE clause."
   (save-excursion
     (back-to-indentation)
-    (destructuring-bind ((sym clause) . anchor) (car syntax)
+    (destructuring-bind ((_sym clause) . anchor) (car syntax)
       (if (and (equal clause "where")
                (looking-at "and\\|or\\|not"))
           (- base-indentation (1+ (- (match-end 0) (match-beginning 0))))
@@ -1722,7 +1722,7 @@ If this rule is added to the 'in-select-clause syntax 
after the
 with AND, OR or NOT to be aligned so they sit left under the WHERE clause."
   (save-excursion
     (back-to-indentation)
-    (destructuring-bind ((sym clause) . anchor) (car syntax)
+    (destructuring-bind ((_sym clause) . anchor) (car syntax)
       (if (and (equal clause "where")
                (looking-at "and\\|or\\|not"))
           (progn (goto-char anchor) (current-column))

Reply via email to