From 3f847fd927e325e6902080da4aba9fb5978ebf2d Mon Sep 17 00:00:00 2001 From: Cary R Date: Sat, 10 Jan 2015 16:28:05 -0800 Subject: [PATCH] Fix a compile warning --- parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse.y b/parse.y index 4b8d2efa1..dd12a9837 100644 --- a/parse.y +++ b/parse.y @@ -57,7 +57,7 @@ static struct { NetNet::PortType direction; bool is_import; }; -} last_modport_port = { MP_NONE, NetNet::NOT_A_PORT}; +} last_modport_port = { MP_NONE, {NetNet::NOT_A_PORT}}; /* The task and function rules need to briefly hold the pointer to the task/function that is currently in progress. */