Mika Laitio
1e21daf781
fix if comparison with uninitialized member value
...
Fix the valgrind warning from the use of an uninitialized
member variable by setting the DEFAULT value for
m_currentNativeCursor in the constructors member initializer list.
This fixes the following warning caused by the SetNativeCursorStyle
method call later on the constructor.
==66660== Warning: client switching stacks? SP change: 0x1ffeffee40 --> 0xdf7efe8
==66660== to suppress, use: --max-stackframe=137187819096 or greater
==66660== Conditional jump or move depends on uninitialised value(s)
==66660== at 0x13F0764E: UnknownInlinedFun (graphics_abstraction_layer.cpp:276)
==66660== by 0x13F0764E: KIGFX::GAL::GAL(KIGFX::GAL_DISPLAY_OPTIONS&) (graphics_abstraction_layer.cpp:78)
Error can be reproduced and checked from the log.txt
by launching kicad with valgrind command
"valgrind --leak-check=full kicad > log.txt 2>&1"
and then launching the footprint editor from the kicad main dialog.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8784
Signed-off-by: Mika Laitio <lamikr@gmail.com>
2021-07-15 16:18:24 +00:00
..
2021-06-09 19:01:54 +00:00
2021-07-14 23:26:40 +00:00
2021-07-13 19:59:03 +01:00
2021-07-15 16:18:24 +00:00
2021-06-19 19:43:54 +00:00
2021-07-08 08:33:08 -04:00
2021-07-09 10:56:35 -04:00
2021-07-13 14:51:58 +00:00
2021-07-10 16:37:45 +01:00
2021-06-09 19:32:58 +00:00
2021-07-13 17:10:13 -04:00
2021-07-10 10:13:55 +01:00
2021-06-01 20:18:24 +00:00
2021-07-13 17:24:23 +01:00
2021-07-04 16:23:57 +01:00
2021-07-14 15:47:32 -04:00
2021-07-14 18:24:21 -04:00
2021-03-19 21:23:35 +00:00
2021-06-15 21:25:27 -04:00
2021-06-01 19:03:22 -04:00
2021-03-19 23:06:19 +00:00
2021-03-20 12:09:18 -04:00
2021-03-08 12:49:48 -08:00
2021-04-28 23:24:19 -04:00
2021-06-03 01:46:04 -04:00
2021-06-25 12:44:51 +01:00
2021-06-09 19:01:54 +00:00
2021-06-19 19:43:54 +00:00
2021-06-14 14:52:37 +00:00
2021-07-05 13:41:06 +01:00
2021-06-07 18:38:52 -04:00
2021-06-17 18:23:58 +01:00
2021-06-20 21:37:02 +01:00
2021-04-19 21:23:07 +02:00
2020-11-29 23:35:23 +00:00
2021-06-02 19:18:48 -04:00
2021-07-14 15:47:32 -04:00
2021-06-09 19:32:58 +00:00
2021-06-17 00:05:17 +01:00
2021-07-14 15:47:32 -04:00
2021-06-14 07:11:17 -04:00
2020-11-06 00:37:57 +00:00
2021-06-09 19:32:58 +00:00
2020-10-27 11:03:35 +00:00
2021-06-20 23:22:56 +01:00
2020-10-25 00:02:52 -04:00
2021-06-08 21:56:00 -04:00
2021-07-06 13:32:34 -04:00
2021-06-30 18:32:07 +01:00
2020-08-05 15:48:03 +02:00
2021-06-14 16:54:45 +01:00
2021-04-22 22:20:34 +01:00
2021-05-06 22:00:06 +00:00
2021-06-29 12:46:16 +01:00
2021-06-29 01:08:26 +01:00
2021-06-09 19:32:58 +00:00
2021-06-28 00:45:24 +01:00
2021-06-09 19:32:58 +00:00
2021-06-07 14:32:27 -04:00
2021-05-03 19:38:31 +01:00
2021-05-01 08:22:35 -04:00
2021-07-04 23:22:39 +01:00
2020-12-19 13:55:28 -05:00
2021-03-20 12:09:18 -04:00
2021-05-03 19:38:31 +01:00
2021-06-09 19:32:58 +00:00
2021-07-14 15:47:32 -04:00
2021-07-03 22:48:46 +00:00
2021-06-08 21:56:00 -04:00
2021-06-28 00:45:24 +01:00
2021-07-10 10:13:55 +01:00
2021-06-30 13:12:57 +01:00
2021-04-22 22:20:34 +01:00
2021-06-30 13:12:57 +01:00
2021-06-30 13:12:57 +01:00
2020-10-23 21:49:42 -04:00
2021-03-20 12:09:18 -04:00
2021-06-07 18:38:52 -04:00
2021-01-12 20:51:31 +00:00
2020-10-25 00:02:52 -04:00
2021-01-23 00:10:01 +00:00
2021-04-28 17:27:07 +00:00
2020-11-18 19:50:36 +00:00
2020-10-27 11:03:35 +00:00
2021-06-08 19:12:30 -04:00
2020-07-21 00:00:36 +00:00
2021-02-02 15:37:30 +00:00
2021-06-21 18:07:23 -04:00
2021-01-03 14:22:25 +00:00
2021-06-08 22:12:44 +01:00
2021-07-13 10:48:17 +00:00
2021-06-29 12:46:16 +01:00
2020-07-20 22:11:53 +01:00
2020-11-18 19:50:36 +00:00
2021-06-22 22:25:06 +01:00
2021-05-03 19:38:31 +01:00
2021-02-22 17:35:46 +00:00
2021-07-05 13:41:06 +01:00
2021-06-23 23:55:54 +01:00
2021-07-08 20:44:04 +01:00
2021-01-01 02:18:32 +00:00
2021-04-21 19:19:25 +00:00
2021-06-24 09:04:27 +02:00
2021-06-09 19:32:58 +00:00
2021-07-13 10:48:17 +00:00
2021-04-14 01:51:22 +00:00
2021-05-05 22:58:40 +01:00
2021-06-07 20:23:27 -04:00
2021-07-08 00:19:31 +01:00
2021-05-03 18:08:15 -04:00
2021-06-08 19:12:30 -04:00
2021-06-28 00:45:24 +01:00
2021-07-04 14:04:03 +00:00
2021-06-07 20:59:59 +00:00
2021-03-20 12:09:18 -04:00