SF.net SVN: geany: [2423] trunk/src/utils.c

ntrel at users.sourceforge.net ntrel at xxxxx
Thu Mar 27 16:45:24 UTC 2008


Revision: 2423
          http://geany.svn.sourceforge.net/geany/?rev=2423&view=rev
Author:   ntrel
Date:     2008-03-27 09:45:18 -0700 (Thu, 27 Mar 2008)

Log Message:
-----------
Remove unnecessary variable.

Modified Paths:
--------------
    trunk/src/utils.c

Modified: trunk/src/utils.c
===================================================================
--- trunk/src/utils.c	2008-03-27 13:59:51 UTC (rev 2422)
+++ trunk/src/utils.c	2008-03-27 16:45:18 UTC (rev 2423)
@@ -357,7 +357,6 @@
 	time_t t;
 	gchar *locale_filename;
 	gboolean ret = FALSE;
-	const time_t delay_time = 10;	/* seconds to delay disk checks for */
 
 	if (idx == -1 || doc_list[idx].file_name == NULL) return FALSE;
 
@@ -370,7 +369,7 @@
 	{
 		/* TODO: warn user file on disk is missing */
 	}
-	else if (doc_list[idx].mtime - delay_time > t || st.st_mtime > t)
+	else if (doc_list[idx].mtime > t || st.st_mtime > t)
 	{
 		geany_debug("Strange: Something is wrong with the time stamps.");
 	}


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



More information about the Commits mailing list