Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
da186818
Commit
da186818
authored
Sep 19, 2019
by
Christoffer Ackelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compilation warning in sev_dbms.
parent
c9ee7d02
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
32 deletions
+32
-32
sev/lib/sev/src/sev_dbms.cpp
sev/lib/sev/src/sev_dbms.cpp
+32
-32
No files found.
sev/lib/sev/src/sev_dbms.cpp
View file @
da186818
...
@@ -4728,7 +4728,7 @@ int sev_dbms::get_events(pwr_tStatus *sts, void *thread, pwr_tOid oid,
...
@@ -4728,7 +4728,7 @@ int sev_dbms::get_events(pwr_tStatus *sts, void *thread, pwr_tOid oid,
return
0
;
return
0
;
}
}
char
query
[
7
00
];
char
query
[
13
00
];
char
starttimstr
[
40
];
char
starttimstr
[
40
];
char
endtimstr
[
40
];
char
endtimstr
[
40
];
pwr_tTime
stime
,
etime
;
pwr_tTime
stime
,
etime
;
...
@@ -5045,7 +5045,7 @@ int sev_dbms::get_events(pwr_tStatus *sts, void *thread, pwr_tOid oid,
...
@@ -5045,7 +5045,7 @@ int sev_dbms::get_events(pwr_tStatus *sts, void *thread, pwr_tOid oid,
strncpy
(
e
.
eventname
,
row
[
j
++
],
sizeof
(
e
.
eventname
));
strncpy
(
e
.
eventname
,
row
[
j
++
],
sizeof
(
e
.
eventname
));
list
.
push_back
(
e
);
list
.
push_back
(
e
);
}
}
printf
(
"ecnt %d
\n
"
,
list
.
size
());
printf
(
"ecnt %
l
d
\n
"
,
list
.
size
());
mysql_free_result
(
result
);
mysql_free_result
(
result
);
*
sts
=
SEV__SUCCESS
;
*
sts
=
SEV__SUCCESS
;
...
...
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