projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ea3d1f
)
initialize all members
author
Stephan Kulow
<coolo@suse.de>
Mon, 17 Mar 2008 13:17:15 +0000
(13:17 +0000)
committer
Stephan Kulow
<coolo@suse.de>
Mon, 17 Mar 2008 13:17:15 +0000
(13:17 +0000)
zypp/PublicKey.cc
patch
|
blob
|
history
diff --git
a/zypp/PublicKey.cc
b/zypp/PublicKey.cc
index
115e904
..
ad5bee6
100644
(file)
--- a/
zypp/PublicKey.cc
+++ b/
zypp/PublicKey.cc
@@
-97,6
+97,7
@@
namespace zypp
}
tm date;
+ memset(&date, 0, sizeof(date));
try
{
@@
-111,9
+112,6
@@
namespace zypp
return Date();
}
- // reset time (set 00:00:00)
- date.tm_sec = date.tm_min = date.tm_hour = 0;
-
time_t time_epoch = ::mktime(&date);
return Date(time_epoch);