Issues

Issue #65 resolved

Fix make check unitialized warnings

Gilles Espinasse
created an issue

Trivial fix for unused argc argv

Comments (1)

  1. Ondřej Surý

    libgd: fix unitialized warnings during make check (fixes #65)

    gifanimtest.c: In function 'main': gifanimtest.c:7: warning: unused parameter 'argc' gifanimtest.c:7: warning: unused parameter 'argv'

    gd_color_map_test.c: In function 'main': gd_color_map_test.c:10: warning: unused parameter 'argc' gd_color_map_test.c:10: warning: unused parameter 'argv'

    circletexttest.c: In function 'main': circletexttest.c:8: warning: unused parameter 'argc' circletexttest.c:8: warning: unused parameter 'argv'

    fontsizetest.c: In function 'main': fontsizetest.c:79: warning: unused parameter 'argc' fontsizetest.c:79: warning: unused parameter 'argv'

    fontwheeltest.c: In function 'main': fontwheeltest.c:116: warning: unused parameter 'argc' fontwheeltest.c:116: warning: unused parameter 'argv'

    testtr.c: In function 'main': testtr.c:12: warning: unused parameter 'argc' testtr.c:12: warning: unused parameter 'argv'

    Only one unused variable 'in' remain because I am lazy to add attribute((unused)) when supported.

    Signed-off-by: Gilles Espinasse g.esp@free.fr

    → <<cset a82781c820f7>>

  2. Log in to comment