]> asedeno.scripts.mit.edu Git - cl-protobufs.git/commitdiff
Get rid of the warning that vval isn't used in generate-object-size of type-aliased...
authorShaun Morris <shaunm@google.com>
Mon, 19 Nov 2012 21:41:36 +0000 (13:41 -0800)
committerShaun Morris <shaunm@google.com>
Mon, 26 Nov 2012 19:32:40 +0000 (11:32 -0800)
serialize.lisp

index 1b573ededcad7c010e2800606a1f0e63b34bbc10..e324cbf479ab51324c40fab8d9b2b04a520cf974 100644 (file)
                                   (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)