SF.net SVN: geany-plugins:[1386] trunk

frlan at users.sourceforge.net frlan at xxxxx
Sun May 23 07:50:15 UTC 2010


Revision: 1386
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1386&view=rev
Author:   frlan
Date:     2010-05-23 07:50:15 +0000 (Sun, 23 May 2010)

Log Message:
-----------
GeanyLaTeX: Remove code block which has been never executed for a long time

Modified Paths:
--------------
    trunk/geany-plugins/geanylatex/src/bibtex.c
    trunk/geanylatex/src/bibtex.c

Modified: trunk/geany-plugins/geanylatex/src/bibtex.c
===================================================================
--- trunk/geany-plugins/geanylatex/src/bibtex.c	2010-05-23 00:57:37 UTC (rev 1385)
+++ trunk/geany-plugins/geanylatex/src/bibtex.c	2010-05-23 07:50:15 UTC (rev 1386)
@@ -22,21 +22,7 @@
 #include "bibtex.h"
 #include "reftex.h"
 
-#if 0
-static int get_entry_pos(char *str)
-{
-	int i;
 
-	if(str != NULL) {
-		for (i = 0; i < N_ENTRIES; i++) {
-			if (utils_str_casecmp(str, label_entry[i]) == 0)
-				return i;
-		}
-	}
-	return -1;
-}
-#endif
-
 void glatex_insert_bibtex_entry(G_GNUC_UNUSED GtkMenuItem * menuitem,
 						 gpointer gdata)
 {

Modified: trunk/geanylatex/src/bibtex.c
===================================================================
--- trunk/geanylatex/src/bibtex.c	2010-05-23 00:57:37 UTC (rev 1385)
+++ trunk/geanylatex/src/bibtex.c	2010-05-23 07:50:15 UTC (rev 1386)
@@ -22,21 +22,7 @@
 #include "bibtex.h"
 #include "reftex.h"
 
-#if 0
-static int get_entry_pos(char *str)
-{
-	int i;
 
-	if(str != NULL) {
-		for (i = 0; i < N_ENTRIES; i++) {
-			if (utils_str_casecmp(str, label_entry[i]) == 0)
-				return i;
-		}
-	}
-	return -1;
-}
-#endif
-
 void glatex_insert_bibtex_entry(G_GNUC_UNUSED GtkMenuItem * menuitem,
 						 gpointer gdata)
 {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list