aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-12-03 16:53:29 +0300
committerZyX <kp-pav@yandex.ru>2017-12-03 16:53:29 +0300
commit6bc54832efcb8c269875dfa4eecd89e1984ead69 (patch)
tree41c23fc6865755c8b2d0e2d6f2e67624369e5810
parent7af8601db4bba355753241c2326b80410b187350 (diff)
downloadrneovim-6bc54832efcb8c269875dfa4eecd89e1984ead69.tar.gz
rneovim-6bc54832efcb8c269875dfa4eecd89e1984ead69.tar.bz2
rneovim-6bc54832efcb8c269875dfa4eecd89e1984ead69.zip
Revert "fix! set lsan options"
This reverts commit 62993323494d846190590606d37aff1136421671.
-rw-r--r--.travis.yml1
-rw-r--r--src/nvim/eval/encode.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index a32532d21a..2bab1635ad 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -39,7 +39,6 @@ env:
- ASAN_OPTIONS="detect_leaks=1:check_initialization_order=1:log_path=$LOG_DIR/asan"
- TSAN_OPTIONS="log_path=$LOG_DIR/tsan"
- UBSAN_OPTIONS="print_stacktrace=1 log_path=$LOG_DIR/ubsan"
- - LSAN_OPTIONS="verbosity=1:log_threads=1"
# Environment variables for Valgrind.
- VALGRIND_LOG="$LOG_DIR/valgrind-%p.log"
# Cache marker for third-party dependencies cache.
diff --git a/src/nvim/eval/encode.c b/src/nvim/eval/encode.c
index 650f11a989..ef647b3ee4 100644
--- a/src/nvim/eval/encode.c
+++ b/src/nvim/eval/encode.c
@@ -316,7 +316,7 @@ int encode_read_from_list(ListReaderState *const state, char *const buf,
#define TYPVAL_ENCODE_CONV_FLOAT(tv, flt) \
do { \
const float_T flt_ = (flt); \
- switch (fpclassify((double)flt_)) { \
+ switch (fpclassify(flt_)) { \
case FP_NAN: { \
ga_concat(gap, (char_u *) "str2float('nan')"); \
break; \