summaryrefslogtreecommitdiff
path: root/src/lib/eina/eina_debug_bt.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2020-05-09 09:25:04 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-05-09 09:25:04 +0100
commite0e1dc5f6f55b12f34935ed383a9ca97e6cd6cd8 (patch)
tree7d21879c88334f4d9ea56f6c55b9a5d4bf1bf230 /src/lib/eina/eina_debug_bt.c
parent19da175f946dc398caf38e013474b1817fc8c23b (diff)
eina: resolve float comparison warnings
Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11786
Diffstat (limited to '')
-rw-r--r--src/lib/eina/eina_debug_bt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/eina/eina_debug_bt.c b/src/lib/eina/eina_debug_bt.c
index a2510e9123..b915f23230 100644
--- a/src/lib/eina/eina_debug_bt.c
+++ b/src/lib/eina/eina_debug_bt.c
@@ -34,6 +34,7 @@
34 34
35#include "eina_debug.h" 35#include "eina_debug.h"
36#include "eina_debug_private.h" 36#include "eina_debug_private.h"
37#include "eina_util.h"
37 38
38#ifndef _WIN32 39#ifndef _WIN32
39# include <signal.h> 40# include <signal.h>
@@ -307,7 +308,7 @@ _trace_cb(void *data EINA_UNUSED)
307 static int bts = 0; 308 static int bts = 0;
308 int i; 309 int i;
309 310
310 if (!_trace_t0) _trace_t0 = get_time(); 311 if (!EINA_DBL_NONZERO(_trace_t0)) _trace_t0 = get_time();
311 312
312 // take a lock on grabbing thread debug info like backtraces 313 // take a lock on grabbing thread debug info like backtraces
313 eina_spinlock_take(&_eina_debug_thread_lock); 314 eina_spinlock_take(&_eina_debug_thread_lock);