]> Kevux Git Server - fll/commit
Bugfix: Mock function is missing parameter name?
authorKevin Day <thekevinday@gmail.com>
Fri, 14 Jan 2022 23:59:00 +0000 (17:59 -0600)
committerKevin Day <thekevinday@gmail.com>
Fri, 14 Jan 2022 23:59:00 +0000 (17:59 -0600)
commit3d19fe4aa06c120eb10ff699a78a13ca3a9e33a6
treeea59b6a3621bbfc689b9b4aaa800bc5daa42c768
parentff9c22e50497ee35c72c4c7e0143765d75aded30
Bugfix: Mock function is missing parameter name?

How did this even compile?
I'm guessing GCC 11 seems to ignore this when the parameter is not used whereas GCC 8 does not.

This is still improper even if newer a GCC can handle the lack of a name.
level_0/f_capability/tests/c/mock-capability.c