Skip to content

Commit

Permalink
[simulator] init msg struct
Browse files Browse the repository at this point in the history
  • Loading branch information
flixr committed Apr 27, 2015
1 parent 728d955 commit 842a74b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/simulator/fg.c
Expand Up @@ -24,7 +24,7 @@ value fg_msg_bytecode(value *argv, int argc) {

value fg_msg_native(value s, value lat, value lon, value z, value phi, value theta, value psi) {

struct FGNetGUI msg;
struct FGNetGUI msg = {0};
msg.version = FG_NET_GUI_VERSION;

msg.longitude = Double_val(lon);
Expand Down

0 comments on commit 842a74b

Please sign in to comment.