aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/ledger-fix-uninitialized.patch
blob: 128c90ec136558339cf2b4ce0bc46dda120d98e7 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
This fixes failures of tests "BaseLine_opt-datetime-format" and
"BaseLine_opt-time-report", which were printing an unexpected trailing '*' on
the last line of output, e.g.:

  @@ -5,4 +5,4 @@
     04/05/13 12:00 PM    04/05/13 01:30 PM       1.50h    Lunch
     04/05/13 11:30 AM    04/05/13 12:00 PM       30.0m    Walk
   --------------------------------------------------
  -                                           
  +                                          *

Reported upstream at
https://groups.google.com/d/msg/ledger-cli/EeJUrUk8YDc/pIR-LOTVEAAJ

diff --git a/src/account.h b/src/account.h
index 1b97463d..f2555593 100644
--- a/src/account.h
+++ b/src/account.h
@@ -187,7 +187,7 @@ public:
 
       datetime_t         earliest_checkin;
       datetime_t         latest_checkout;
-      bool               latest_checkout_cleared;
+      bool               latest_checkout_cleared = false;
 
       std::set<path>     filenames;
       std::set<string>   accounts_referenced;
a83b5292d4e90ca221d6bcf03350ed8dc45'>marionette: Add support for QEMU's "quit" command....Chris Marusich 2018-06-01marionette: Add 'wait-for-tcp-port'....Ludovic Courtès 2018-02-19marionette: Use QEMU's "VM channel" mechanism....Ludovic Courtès 2017-09-08marionette: 'wait-for-file' can be passed a read procedure....Ludovic Courtès 2017-08-28marionette: Augment the set of keystrokes....Ludovic Courtès 2017-08-28marionette: Fix typing of capital letters....Ludovic Courtès 2017-08-28marionette: 'wait-for-file' really raises an error when a file is missing....Ludovic Courtès 2017-06-12marionette: Factorize 'wait-for-file'....Ludovic Courtès 2016-11-23install: Enable "cryptodisk" handling in GRUB....Ludovic Courtès 2016-11-23marionette: Add 'marionette-screen-text' using OCR....Ludovic Courtès 2016-11-23marionette: Delay synchronization with the host's REPL....Ludovic Courtès 2016-11-22marionette: Avoid use of SIGALRM for timeouts....Ludovic Courtès 2016-05-04Add (gnu tests) and (gnu build marionette)....Ludovic Courtès