pgadmin3-1.18.1//pgadmin/dd/ddmodel/ddDBReverseEnginering.cpp: 2 * bad if test ? - Mailing list pgadmin-support

From David Binderman
Subject pgadmin3-1.18.1//pgadmin/dd/ddmodel/ddDBReverseEnginering.cpp: 2 * bad if test ?
Date
Msg-id DUB118-W23ED3BACCC2C65ADA6A5D99CD60@phx.gbl
Whole thread Raw
Responses Re: pgadmin3-1.18.1//pgadmin/dd/ddmodel/ddDBReverseEnginering.cpp: 2 * bad if test ?
List pgadmin-support
hello there,

I just ran the static analyser "cppcheck" over
the source code of pgadmin3-1.18.1. It said
many things, including

1

> [dd/ddmodel/ddDBReverseEnginering.cpp:657] -> [dd/ddmodel/ddDBReverseEnginering.cpp:657]: (style) Same expression on
bothsides of '!='. 

Source code is

 if(baseUkIdxSourceCol != baseUkIdxSourceCol)

Suggest code rework.

2.

> [dd/ddmodel/ddDBReverseEnginering.cpp:1136] -> [dd/ddmodel/ddDBReverseEnginering.cpp:1136]: (style) Same expression
onboth sides of '!='. 

Duplicate.

Regards

David Binderman


pgadmin-support by date:

Previous
From: Bartosz Głuszak
Date:
Subject: pgAdmin 1.18.1: SQL query window hangs
Next
From: Dave Page
Date:
Subject: Re: pgadmin3-1.18.1//pgadmin/dd/ddmodel/ddDBReverseEnginering.cpp: 2 * bad if test ?