From b480e7fc9c60caf9fc4ec7d8c80cba911488f0cc Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 3 Oct 2019 19:00:50 +0200 Subject: [PATCH] tweaks: remove some timing code that has served its purpose --- src/nano.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/nano.c b/src/nano.c index a279d4fb..56177d20 100644 --- a/src/nano.c +++ b/src/nano.c @@ -2329,18 +2329,8 @@ int main(int argc, char **argv) #ifdef ENABLE_SPELLER alt_speller = NULL; #endif - -//#define TIMEIT 12 -#ifdef TIMEIT -#include - clock_t start = clock(); -#endif /* Now process the system's and the user's nanorc file, if any. */ do_rcfiles(); -#ifdef TIMEIT - fprintf(stderr, "Took: %.3f\n", - (double)(clock() - start) / CLOCKS_PER_SEC); -#endif /* If the backed-up command-line options have a value, restore them. */ #ifdef ENABLED_WRAPORJUSTIFY