don't need bufPtr

This commit is contained in:
Simon Kornblith 2010-12-19 06:41:33 +00:00
parent 1ed0c88c32
commit 0ccc6d0892

View File

@ -42,7 +42,6 @@ onmessage = function(event) {
// define buffer for reading from fifo
const BUFFER_SIZE = 4096;
var buf = ctypes.char.array(BUFFER_SIZE)("");
var bufPtr = buf.address();
while(true) {
// open fifo (this will block until something writes to it)