fix coverity #82925
authorJohn Ellson <ellson@research.att.com>
Tue, 6 Jan 2015 17:07:27 +0000 (12:07 -0500)
committerJohn Ellson <ellson@research.att.com>
Tue, 6 Jan 2015 17:07:27 +0000 (12:07 -0500)
lib/common/shapes.c

index e0c484f532165ee1460e0af51171048a87de91e7..0567e4569249698cdf89fcbaf199e8b276973b50 100644 (file)
@@ -2734,6 +2734,7 @@ static port poly_port(node_t * n, char *portname, char *compass)
            unrecognized(n, portname);
     }
 
+    rv.name = NULL;
     return rv;
 }