diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2018-05-18 00:01:05 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2018-05-18 00:01:05 +0200 |
commit | 7969d8035530d40753c4f880c90a4e90f9679ccc (patch) | |
tree | b749d364c36c1dd457e1869508c3cea8792ae002 /util.c | |
parent | 4e7ccaf9f133106786fd85a432ae23e11d9dcea2 (diff) | |
download | libsigrokdecode-7969d8035530d40753c4f880c90a4e90f9679ccc.tar.gz libsigrokdecode-7969d8035530d40753c4f880c90a4e90f9679ccc.zip |
Random whitespace/cosmetic/consistency fixes.
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -490,7 +490,6 @@ SRD_PRIV GVariant *py_obj_to_variant(PyObject *py_obj) } if (!var) srd_exception_catch("Failed to extract string value"); - } else if (PyLong_Check(py_obj)) { /* integer */ int64_t val; @@ -499,7 +498,6 @@ SRD_PRIV GVariant *py_obj_to_variant(PyObject *py_obj) var = g_variant_new_int64(val); else srd_exception_catch("Failed to extract integer value"); - } else if (PyFloat_Check(py_obj)) { /* float */ double val; @@ -508,7 +506,6 @@ SRD_PRIV GVariant *py_obj_to_variant(PyObject *py_obj) var = g_variant_new_double(val); else srd_exception_catch("Failed to extract float value"); - } else { srd_err("Failed to extract value of unsupported type."); } |