Skip to content

fread.c: warning: variable 'resj' set but not used #5511

Description

@mattdowle

Noticed in clang-15 output, #5491 (comment), but maybe different options are in use now too. It's not occurring on CRAN so maybe this block has changed in dev, or the compiler version / options are different on CRAN. Anyway, the warning looks correct and useful.

fread.c:2539:21: warning: variable 'resj' set but not used [-Wunused-but-set-variable]
      for (int j=0, resj=-1; j<ncol; j++) {

Activity

  1. added this to the 1.14.5 milestone on Nov 2, 2022
  2. modified the milestones: 1.14.7, 1.14.6 on Nov 16, 2022
  3. added a commit that references this issue on Nov 16, 2022
    16cf294
  4. added a commit that references this issue on Feb 15, 2024
    a4c2b01
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions