
1 Sep
2009
1 Sep
'09
8:11 p.m.
Dear Anton Vorontsov,
In message 20090901165803.GA3668@oksana.dev.rtsoft.ru you wrote:
This is needed so that we could use this macro for non-UBI code.
Signed-off-by: Anton Vorontsov avorontsov@ru.mvista.com
include/compiler.h | 3 +++ include/ubi_uboot.h | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/include/compiler.h b/include/compiler.h index 272fd3c..e602cce 100644 --- a/include/compiler.h +++ b/include/compiler.h @@ -122,4 +122,7 @@ typedef unsigned int uintptr_t;
#endif
+/* compiler options */ +#define uninitialized_var(x) x = x
Please excuse my ignorance, but where and what for is such a definition useful?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Faith may be defined briefly as an illogical belief in the occurence
of the improbable. - H. L. Mencken