[clazy] [Bug 409984] New: -export-fixes does not export anything for a relative file path

Nikolai Kosjar bugzilla_noreply at kde.org
Fri Jul 19 10:28:08 BST 2019


https://bugs.kde.org/show_bug.cgi?id=409984

            Bug ID: 409984
           Summary: -export-fixes does not export anything for a relative
                    file path
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: nikolai.kosjar at qt.io
                CC: smartins at kde.org
  Target Milestone: ---

% /d2/clazy/install/bin/clazy-standalone -export-fixes=clazy.yaml
-checks=qgetenv main.cpp 
/home/nik/work/testprojects/tidyAnalyzerInclusions/source/main.cpp:8:5:
warning: qgetenv().isEmpty() allocates. Use qEnvironmentVariableIsEmpty()
instead
      [-Wclazy-qgetenv]
    qgetenv("Foo").isEmpty();
    ^~~~~~~      ~~~~~~~~~~~
    qEnvironmentVariableIsEmpty )
1 warning generated.
% ls -l clazy.yaml
ls: cannot access 'clazy.yaml': No such file or directory
zsh: exit 2     ls --color=auto --group-directories-first -l clazy.yaml


Providing an absolute path like /tmp/clazy.yaml works fine.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list