Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC ADC 100M 14b 4cha
Commits
dc450d61
Commit
dc450d61
authored
Jul 25, 2022
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools: fix minor cppcheck warnings
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
75597b63
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
fau-acq-time.c
software/tools/fau-acq-time.c
+1
-1
fau-trg-config.c
software/tools/fau-trg-config.c
+1
-1
No files found.
software/tools/fau-acq-time.c
View file @
dc450d61
...
...
@@ -85,7 +85,7 @@ int fau_read_time(long time[3], enum fau_attribute first_attr)
return
err
;
}
void
fau_print_time
(
long
time1
[
3
],
long
time2
[
3
])
void
fau_print_time
(
const
long
time1
[
3
],
const
long
time2
[
3
])
{
long
result
[
3
];
...
...
software/tools/fau-trg-config.c
View file @
dc450d61
...
...
@@ -124,7 +124,7 @@ static long strtol_or_die(const char *arg)
int
main
(
int
argc
,
char
*
argv
[])
{
/* default attribute */
static
int
attrdef
[
FAU_TRIG_NUM_ATTR
]
=
{
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
const
static
int
attrdef
[
FAU_TRIG_NUM_ATTR
]
=
{
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
/* getop attribute */
static
int
attrval
[
FAU_TRIG_NUM_ATTR
]
=
{
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
};
static
int
force
=
0
;
...
...
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