FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GH-131296: clang-cl on Windows: fix unused warning "self" in fileio.c by chris-eibl · Pull Request #131303 · python/cpython · GitHub

/ cpython Public

GH-131296: clang-cl on Windows: fix unused warning "self" in fileio.c - #131303

Closed
chris-eibl wants to merge 2 commits into
python:mainfrom
chris-eibl:fix_clangcl_fileio
Closed

GH-131296: clang-cl on Windows: fix unused warning "self" in fileio.c#131303
chris-eibl wants to merge 2 commits into
python:mainfrom
chris-eibl:fix_clangcl_fileio

Conversation

chris-eibl commented Mar 15, 2025
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Comment thread Modules/_io/fileio.c Outdated
{
fileio *self = PyFileIO_CAST(op);
#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE
fileio* self = PyFileIO_CAST(op);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

It looks like the * position accidentally became inconsistent in this file, which could be unfriendly with some editors.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Great spot!

Viusal Studio thinks it does me a favor when copy pasting -> it reformats :(

Now I found that evil setting and disabled it!

chris-eibl closed this Mar 20, 2025

Copy link
Copy Markdown
Member Author

Done in #131487

chris-eibl deleted the fix_clangcl_fileio branch March 20, 2025 15:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL