repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8559e0
)
cec: fixed potentially uninitialised values in cec_command
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Tue, 24 Apr 2012 19:50:26 +0000
(21:50 +0200)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Tue, 24 Apr 2012 20:33:27 +0000
(22:33 +0200)
include/cectypes.h
patch
|
blob
|
blame
|
history
diff --git
a/include/cectypes.h
b/include/cectypes.h
index ea2c73dc653935695f8968e7a61011656bbd5ddd..6f7375b3fc5ecf9bfed6442e14ad7d7a672f2478 100644
(file)
--- a/
include/cectypes.h
+++ b/
include/cectypes.h
@@
-759,6
+759,11
@@
typedef struct cec_command
int32_t transmit_timeout; /**< the timeout to use in ms */
#ifdef __cplusplus
+ cec_command(void)
+ {
+ Clear();
+ }
+
cec_command &operator =(const struct cec_command &command)
{
initiator = command.initiator;