[geany/geany] f886f7: Javascript parser: Removed warning of unused variable is_inside_class and cleanUp

dfishburn git-noreply at xxxxx
Mon Nov 24 01:00:24 UTC 2014


Branch:      refs/heads/master
Author:      dfishburn <dfishburn at c5d04d22-be80-434c-894e-aa346cc9e8e8>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Mon, 24 Nov 2014 01:00:24 UTC
Commit:      f886f7084a007feda682051fbdbbd533f2127460
             https://github.com/geany/geany/commit/f886f7084a007feda682051fbdbbd533f2127460

Log Message:
-----------
Javascript parser: Removed warning of unused variable is_inside_class and cleanUp

git-svn-id: https://svn.code.sf.net/p/ctags/code/trunk@815 c5d04d22-be80-434c-894e-aa346cc9e8e8


Modified Paths:
--------------
    tagmanager/ctags/js.c

Modified: tagmanager/ctags/js.c
4 lines changed, 1 insertions(+), 3 deletions(-)
===================================================================
@@ -1654,7 +1654,6 @@ static boolean parseStatement (tokenInfo *const token, boolean is_inside_class)
 static void parseUI5 (tokenInfo *const token)
 {
 	tokenInfo *const name = newToken ();
-	boolean is_inside_class = FALSE;
 	/*
 	 * SAPUI5 is built on top of jQuery.
 	 * It follows a standard format:
@@ -1696,9 +1695,8 @@ static void parseUI5 (tokenInfo *const token)
 			parseMethods (token, name);
 		} while (! isType (token, TOKEN_CLOSE_CURLY) );
 	}
-cleanUp:
-	deleteToken (name);
 
+	deleteToken (name);
 }
 
 static boolean parseLine (tokenInfo *const token, boolean is_inside_class)



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list