mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 01:43:00 +02:00
grouter/groutePin.c: multiple: non-void function does not return a value
Multiple reports exists in this file Affected functions: GLInitPins() now returns void glPinArrayInit() now returns void GLLinkPins() now returns void glPinArrayLink() now returns void GLFixStemPins() now returns void glPinArrayFixStems() now returns void SonarCloud https://sonarcloud.io/project/issues?open=AZJB17L0NGfDNup0Rj0D&id=dlmiles_magic
This commit is contained in:
committed by
Tim Edwards
parent
8b2efd5d7d
commit
ab747a0f8c
+6
-6
@@ -130,7 +130,7 @@ glPointToPin(ch, side, point)
|
||||
* ----------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
int
|
||||
void
|
||||
GLInitPins(ch)
|
||||
GCRChannel *ch;
|
||||
{
|
||||
@@ -140,7 +140,7 @@ GLInitPins(ch)
|
||||
glPinArrayInit(ch, GEO_EAST, ch->gcr_rPins, ch->gcr_width);
|
||||
}
|
||||
|
||||
int
|
||||
void
|
||||
glPinArrayInit(ch, side, pins, nPins)
|
||||
GCRChannel *ch;
|
||||
GCRPin *pins;
|
||||
@@ -352,7 +352,7 @@ glPinArrayBlock(ch, pins, opins, nPins)
|
||||
* ----------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
int
|
||||
void
|
||||
GLLinkPins(ch)
|
||||
GCRChannel *ch;
|
||||
{
|
||||
@@ -362,7 +362,7 @@ GLLinkPins(ch)
|
||||
glPinArrayLink(ch->gcr_rPins, ch->gcr_width);
|
||||
}
|
||||
|
||||
int
|
||||
void
|
||||
glPinArrayLink(pins, nPins)
|
||||
GCRPin *pins;
|
||||
int nPins;
|
||||
@@ -452,7 +452,7 @@ glShowPin(pin)
|
||||
* ----------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
int
|
||||
void
|
||||
GLFixStemPins(ch)
|
||||
GCRChannel *ch;
|
||||
{
|
||||
@@ -462,7 +462,7 @@ GLFixStemPins(ch)
|
||||
glPinArrayFixStems(ch->gcr_rPins, ch->gcr_width);
|
||||
}
|
||||
|
||||
int
|
||||
void
|
||||
glPinArrayFixStems(pins, nPins)
|
||||
GCRPin *pins;
|
||||
int nPins;
|
||||
|
||||
Reference in New Issue
Block a user