Skip to content

Conversation

@petk
Copy link
Member

@petk petk commented Jun 21, 2024

The variable S is not used if PQresultMemorySize is not available in this switch at this point.

The variable S is not used if PQresultMemorySize is not available in
this switch at this point.
#endif

default:
(void)S;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense, we could have created the var only for the case above but one day we might add more attributes to fetch.

@petk petk merged commit 678a481 into php:master Jun 21, 2024
@petk petk deleted the patch-pgsql-unused-variable branch June 21, 2024 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants