Commit Graph

8 Commits

Author SHA1 Message Date
Darryl L. Miles ab747a0f8c 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
2024-10-01 12:36:13 -04:00
Darryl Miles cf90d50999 grouter/grouteMaze.c: Wrong type of arguments to formatting function
* Fix code scanning alert no. 99: Wrong type of arguments to formatting function

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* Update grouteMaze.c

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2024-10-01 12:36:13 -04:00
Darryl Miles 77c1082886 grouter/grouteTest.c: Wrong type of arguments to formatting function
Fix code scanning alert no. 100: Wrong type of arguments to formatting function (#31)

* Update grouteTest.c

* AI suggested just "%p", DLM modified to used intmax_t cast.

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2024-10-01 12:36:13 -04:00
Tim Edwards d229aefb15 A handful of changes after applying pull request #191 from
Alessandro De Laurenzis.  That pull request cleaned up the vast
majority of compiler warnings.  However, that cleanup exposed a
few additional warnings pointing to errors in the code that needed
fixing.  The code now compiles cleanly except for one warning
about redefined CAD_DIR that I have not looked into.
2022-10-29 09:57:41 -04:00
Alessandro De Laurenzis b306a39560 Compatibility with C99 standard
This commit makes the code (mostly) C99-compatible, enabling to compile
it without the -Wno-error=implicit-function-declaration flag. This
way, Magic becomes usable on arm64 architectures, specifically on Apple
computers with M1/M2 SoC.
2022-10-29 06:07:46 +02:00
Tim Edwards 2af38a4191 Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
Tim Edwards 80fa495103 Removed the Depend files, which were being tracked with .gitignore
pointing to Depend instead of */Depend.
2020-03-13 15:39:08 -04:00
Tim Edwards 231a299b16 Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00