Skip to content

Commit

Permalink
Minor inspection fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lymphatus committed Feb 22, 2022
1 parent 41b2e96 commit fa00985
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .clang-format
Expand Up @@ -3,8 +3,8 @@ Language: Cpp
# BasedOnStyle: WebKit
AccessModifierOffset: -4
AlignAfterOpenBracket: DontAlign
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignConsecutiveAssignments: None
AlignConsecutiveDeclarations: None
AlignEscapedNewlines: Right
AlignOperands: false
AlignTrailingComments: false
Expand All @@ -26,7 +26,7 @@ BinPackParameters: true
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: false
AfterControlStatement: Never
AfterEnum: false
AfterFunction: true
AfterNamespace: false
Expand Down Expand Up @@ -98,7 +98,7 @@ PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Left
ReflowComments: true
SortIncludes: true
SortIncludes: CaseSensitive
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
Expand All @@ -116,7 +116,7 @@ SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11
Standard: c++17
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
Expand Down
2 changes: 1 addition & 1 deletion src/models/CImage.cpp
Expand Up @@ -173,7 +173,7 @@ bool CImage::compress(const CompressionOptions& compressionOptions)
QFileInfo outputInfo(tempFileFullPath);

bool outputIsBiggerThanInput = outputInfo.size() >= inputFileInfo.size();
bool copyResult = false;
bool copyResult;

if (outputAlreadyExists) {
QFile::remove(outputFullPath);
Expand Down
2 changes: 0 additions & 2 deletions src/updater/osx/CocoaInitializer.mm
Expand Up @@ -5,8 +5,6 @@
#include "CocoaInitializer.h"

#include <AppKit/AppKit.h>
#include <Cocoa/Cocoa.h>
#include <QtDebug>

class CocoaInitializer::Private
{
Expand Down

0 comments on commit fa00985

Please sign in to comment.