Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
solverstack
vite
Commits
149cbb3d
Commit
149cbb3d
authored
May 27, 2019
by
Mathieu Faverge
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-sonar-qube-errors' into 'master'
Fix issues reported by SonarQube See merge request
!15
parents
bf1cd97e
a8375567
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/common/Session.cpp
src/common/Session.cpp
+1
-1
src/common/Tools.cpp
src/common/Tools.cpp
+1
-1
No files found.
src/common/Session.cpp
View file @
149cbb3d
...
...
@@ -286,7 +286,7 @@ void Session::get_palettes_name(const std::string &type, QStringList &list) {
}
Palette
*
Session
::
get_palette
(
const
std
::
string
&
type
,
const
std
::
string
&
palette_name
)
{
Palette
*
p
,
**
where_from
;
Palette
*
p
=
NULL
,
**
where_from
;
if
(
type
==
"palette"
)
{
p
=
_palettes_state
;
where_from
=
&
_palettes_state
;
...
...
src/common/Tools.cpp
View file @
149cbb3d
...
...
@@ -57,7 +57,7 @@
using
namespace
std
;
bool
convert_to_double
(
const
std
::
string
&
arg
,
double
*
val
)
{
unsigned
int
nb_read
;
int
nb_read
;
// Try to convert first in the current locale
sscanf
(
arg
.
c_str
(),
"%lf%n"
,
val
,
&
nb_read
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment