Skip to content

Conversation

metsma
Copy link
Contributor

@metsma metsma commented Jul 25, 2023

IB-7625

Signed-off-by: Raul Metsma [email protected]

@metsma metsma changed the title ZIP Streaming WIP: ZIP Streaming Jul 25, 2023
Comment on lines +73 to +80
switch(dir)
{
case ios_base::beg:
return seekpos(off, which);
case ios_base::cur:
case ios_base::end:
default: return -1;
}

Check warning

Code scanning / CodeQL

Use of integer where enum is preferred

Enumeration types should be used instead of integers to select from a limited series of choices.
IB-7625

Signed-off-by: Raul Metsma <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant