Skip to content

Cosmetic patch for warning "unused variable" #46736

Closed

Description

@ocean-city
BPO 2484
Nosy @birkenfeld
Files
  • fix_warning.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2008-03-26.09:00:21.154>
    created_at = <Date 2008-03-25.17:00:04.725>
    labels = ['extension-modules']
    title = 'Cosmetic patch for warning "unused variable"'
    updated_at = <Date 2008-03-26.09:00:21.122>
    user = 'https://bugs.python.org/ocean-city'

    bugs.python.org fields:

    activity = <Date 2008-03-26.09:00:21.122>
    actor = 'georg.brandl'
    assignee = 'none'
    closed = True
    closed_date = <Date 2008-03-26.09:00:21.154>
    closer = 'georg.brandl'
    components = ['Extension Modules']
    creation = <Date 2008-03-25.17:00:04.725>
    creator = 'ocean-city'
    dependencies = []
    files = ['9854']
    hgrepos = []
    issue_num = 2484
    keywords = ['patch']
    message_count = 4.0
    messages = ['64499', '64502', '64541', '64546']
    nosy_count = 2.0
    nosy_names = ['georg.brandl', 'ocean-city']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue2484'
    versions = ['Python 3.0']

    Activity

    1. ocean-city commented on Mar 25, 2008

      ocean-citymannequin
      MannequinAuthor

      "int i,j;" in inner block is hiding "Py_ssize_t i,j;"

    2. birkenfeld commented on Mar 25, 2008

      @birkenfeld
      Member

      This seems to be already fixed in trunk. Can you confirm?

    3. ocean-city commented on Mar 26, 2008

      ocean-citymannequin
      MannequinAuthor

      I've confirmed trunk doesn't have this problem.

      Probably this is merge issue. r57928 changed the position of "int i,j"
      in py3k, but not changed in trunk, so when r61864 was merged into py3k
      some kind of conflict happened.

    4. birkenfeld commented on Mar 26, 2008

      @birkenfeld
      Member

      Thanks, fixed in r61927.

    5. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions