common-lisp.net
/
projects/qitab/cl-protobufs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8bbe17b
)
Get rid of the warning that vval isn't used in generate-object-size of type-aliased...
author
Shaun Morris
<shaunm@google.com>
Mon, 19 Nov 2012 21:41:36 +0000 (13:41 -0800)
committer
Shaun Morris
<shaunm@google.com>
Mon, 26 Nov 2012 19:32:40 +0000 (11:32 -0800)
serialize.lisp
patch
|
blob
|
blame
|
history
diff --git
a/serialize.lisp
b/serialize.lisp
index
1b573ed
..
e324cbf
100644
(file)
--- a/
serialize.lisp
+++ b/
serialize.lisp
@@
-1011,8
+1011,9
@@
(tag (make-tag class index)))
`(let ((,vval ,reader))
(when ,vval
- (let ((,vval (funcall #',(proto-serializer msg) ,vval)))
- (iincf ,vsize (prim-size ,vval ,class ,tag))))))))))))))
+ (iincf ,vsize (prim-size
+ (funcall #',(proto-serializer msg) ,vval)
+ ,class ,tag)))))))))))))
`(defmethod object-size
(,vobj (,vclass (eql ,message)) &optional visited)
(declare #.$optimize-serialization)