[Pkg-bitcoin-commits] [libunivalue] 13/38: Remove trailing whitespace from JSON export

Jonas Smedegaard dr at jones.dk
Mon Feb 27 01:13:27 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libunivalue.

commit 26ef3fff1551bf0c322d88608c086c9fb5083b55
Author: BtcDrak <btcdrak at gmail.com>
Date:   Wed Oct 26 19:02:20 2016 +0100

    Remove trailing whitespace from JSON export
---
 lib/univalue_write.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/univalue_write.cpp b/lib/univalue_write.cpp
index cfbdad3..cf27835 100644
--- a/lib/univalue_write.cpp
+++ b/lib/univalue_write.cpp
@@ -79,8 +79,6 @@ void UniValue::writeArray(unsigned int prettyIndent, unsigned int indentLevel, s
         s += values[i].write(prettyIndent, indentLevel + 1);
         if (i != (values.size() - 1)) {
             s += ",";
-            if (prettyIndent)
-                s += " ";
         }
         if (prettyIndent)
             s += "\n";

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/libunivalue.git



More information about the Pkg-bitcoin-commits mailing list