Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

variable potentially undefined #57

Closed
jsteemann opened this issue Apr 30, 2012 · 2 comments
Closed

variable potentially undefined #57

jsteemann opened this issue Apr 30, 2012 · 2 comments
Labels
3 Build compiling on targets
Milestone

Comments

@jsteemann
Copy link
Contributor

When compiling AvocadoDB I got compiler warnings about a variable "e" being potentially undefined.
If it is actually initialized or not depends on several things so all I did was flagging the relevant parts in the code with a comment:

V8/v8-conv.cpp:665: // TODO FIXME: my compiler complains about e being potentially undefined. what to do?
ShapedJson/shaped-json.c:866: // TODO: FIXME my compiler complains about e being potentially undefined. what to do?

@jsteemann
Copy link
Contributor Author

compiler warnings:
ShapedJson/shaped-json.c: In Funktion »FillShapeValueJson«:
ShapedJson/shaped-json.c:908:5: Warnung: »e« könnte in dieser Funktion uninitialisiert verwendet werden [-Wuninitialized]
ShapedJson/shaped-json.c:768:22: Anmerkung: »e« wurde hier deklariert

V8/v8-conv.cpp: In Funktion »bool ZL18FillShapeValueJsonP12TRI_shaper_sP17TRI_shape_value_sN2v86HandleINS3_5ValueEEERSt3setIiSt4lessIiESaIiEERSt6vectorINS4_INS3_6ObjectEEESaISF_EE.constprop.137(TRI_shaper_t, TRI_shape_value_t_, v8::Handlev8::Value, std::set&, std::vectorv8::Handle<v8::Object >&)«:
V8/v8-conv.cpp:707:5: Warnung: »e« könnte in dieser Funktion uninitialisiert verwendet werden [-Wuninitialized]
V8/v8-conv.cpp:559:22: Anmerkung: »e« wurde hier deklariert

@fceller
Copy link
Contributor

fceller commented May 28, 2012

Fixed in 1.0.alpha1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 Build compiling on targets
Projects
None yet
Development

No branches or pull requests

2 participants