]> granicus.if.org Git - php/commitdiff
- CS
authorFelipe Pena <felipensp@gmail.com>
Sun, 1 Dec 2013 17:00:28 +0000 (15:00 -0200)
committerFelipe Pena <felipensp@gmail.com>
Sun, 1 Dec 2013 17:00:28 +0000 (15:00 -0200)
phpdbg_utils.c

index 4b58448f0a9b674ee200981743ec6a93c0935d5e..c81358db283646f761c8f523ab12f5ac140afd27 100644 (file)
@@ -246,12 +246,10 @@ PHPDBG_API int phpdbg_rlog(FILE *fp, const char *fmt, ...) { /* {{{ */
        int rc = 0;
        
        va_list args;
-       time_t now;
        struct timeval tp;
        
        va_start(args, fmt);
-       if (gettimeofday(&tp, NULL) == SUCCESS)
-       {
+       if (gettimeofday(&tp, NULL) == SUCCESS) {
                char friendly[100];
                char *format = NULL, *buffer = NULL;