Corrected uninitialized variable problem in lefWrite.

This commit is contained in:
Tim Edwards 2020-03-25 15:21:05 -04:00
parent 151f1fb470
commit 521efeb929
1 changed files with 1 additions and 0 deletions

View File

@ -836,6 +836,7 @@ lefWriteMacro(def, f, scale, hide)
/* List of pins (ports) (to be refined?) */
lc.lefMode = LEF_MODE_PORT;
lc.numWrites = 0;
/* Determine the maximum port number, then output ports in order */
maxport = -1;