Skip to content

Fix compiler warnings for cupsdCheckAdminTask#226

Closed
SiliconA-Z wants to merge 1 commit intoOpenPrinting:masterfrom
SiliconA-Z:clion
Closed

Fix compiler warnings for cupsdCheckAdminTask#226
SiliconA-Z wants to merge 1 commit intoOpenPrinting:masterfrom
SiliconA-Z:clion

Conversation

@SiliconA-Z
Copy link
Contributor

Make the function static since it isn't used outside the file nor does it have a prototype, as well as silence the warning about an unused parameter.

@michaelrsweet
Copy link
Member

All of this code needs a proper review and won't be staying like this forever...

@michaelrsweet michaelrsweet self-assigned this Aug 28, 2021
@michaelrsweet michaelrsweet self-requested a review August 28, 2021 17:30
@michaelrsweet michaelrsweet added bug Something isn't working platform issue Issue is specific to an OS or desktop priority-low labels Aug 28, 2021
@michaelrsweet michaelrsweet added this to the v2.4.0 milestone Aug 28, 2021
@SiliconA-Z SiliconA-Z force-pushed the clion branch 2 times, most recently from 320cb48 to 05cdcb9 Compare September 3, 2021 13:49
@SiliconA-Z SiliconA-Z force-pushed the clion branch 2 times, most recently from aa2bf5f to 02fd993 Compare September 7, 2021 15:54
@SiliconA-Z
Copy link
Contributor Author

All of this code needs a proper review and won't be staying like this forever...

Alright. But it's still safe to do to avoid a compiler warning.

@SiliconA-Z SiliconA-Z force-pushed the clion branch 5 times, most recently from 8eb0e68 to cf529ce Compare September 15, 2021 20:39
@SiliconA-Z SiliconA-Z force-pushed the clion branch 3 times, most recently from 578988c to 9ab6f7c Compare September 17, 2021 14:49
Make the function static since it isn't used outside the file nor does it have a prototype, as well as silence the warning about an unused parameter.
@michaelrsweet
Copy link
Member

Closing as the reworking of this function removes the need. See PR #269...

@SiliconA-Z SiliconA-Z deleted the clion branch October 6, 2021 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working platform issue Issue is specific to an OS or desktop priority-low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants