projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48508e1
)
[MonoError] Fix the definition of init_error.
author
Rodrigo Kumpera
<kumpera@gmail.com>
Thu, 21 Jan 2016 21:13:21 +0000
(16:13 -0500)
committer
Rodrigo Kumpera
<kumpera@gmail.com>
Thu, 21 Jan 2016 21:13:21 +0000
(16:13 -0500)
mono/utils/mono-error-internals.h
patch
|
blob
|
history
diff --git
a/mono/utils/mono-error-internals.h
b/mono/utils/mono-error-internals.h
index af7205cd37282d24cf1d7f64b021a2dbe5538456..774203d343c852455a64f8f9c425684ba2f89bda 100644
(file)
--- a/
mono/utils/mono-error-internals.h
+++ b/
mono/utils/mono-error-internals.h
@@
-25,6
+25,7
@@
typedef struct {
#define error_init(error) do { \
(error)->error_code = MONO_ERROR_NONE; \
+ (error)->flags = 0; \
} while (0);
#define is_ok(error) ((error)->error_code == MONO_ERROR_NONE)