projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f6c587
)
src: remove unused MIN macro
author
Ben Noordhuis
<info@bnoordhuis.nl>
Sat, 11 Oct 2014 19:54:59 +0000
(21:54 +0200)
committer
Fedor Indutny
<fedor@indutny.com>
Mon, 13 Oct 2014 19:46:39 +0000
(23:46 +0400)
Defined in src/node.cc but not actually in use; remove it.
PR-URL: https://github.com/node-forward/node/pull/18
Reviewed-By: Fedor Indutny <fedor@indutny.com>
src/node.cc
patch
|
blob
|
history
diff --git
a/src/node.cc
b/src/node.cc
index
ea41e36
..
0725450
100644
(file)
--- a/
src/node.cc
+++ b/
src/node.cc
@@
-1353,10
+1353,6
@@
ssize_t DecodeBytes(Isolate* isolate,
return StringBytes::Size(isolate, val, encoding);
}
-#ifndef MIN
-# define MIN(a, b) ((a) < (b) ? (a) : (b))
-#endif
-
// Returns number of bytes written.
ssize_t DecodeWrite(Isolate* isolate,
char* buf,