projects
/
cmccabe-bin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
826bf6f
)
simple_time.c: Remove unused variable
author
Colin Patrick McCabe
<cmccabe@alumni.cmu.edu>
Wed, 11 Aug 2010 19:00:31 +0000 (12:00 -0700)
committer
Colin Patrick McCabe
<cmccabe@alumni.cmu.edu>
Wed, 11 Aug 2010 19:00:31 +0000 (12:00 -0700)
simple_time.c
patch
|
blob
|
history
diff --git
a/simple_time.c
b/simple_time.c
index
86b92f9
..
5906409
100644
(file)
--- a/
simple_time.c
+++ b/
simple_time.c
@@
-24,7
+24,7
@@
int main(void)
{
while (1) {
char str[27];
- size_t i, len;
+ size_t len;
time_t t = time(NULL);
struct tm *tm = localtime(&t);