fourier / ztree

Directory tree comparison mode for Emacs
http://www.emacswiki.org/emacs/ZtreeDiff
GNU General Public License v3.0
239 stars 21 forks source link

Warnings during compilation #62

Closed rchar01 closed 6 years ago

rchar01 commented 6 years ago

There are several warnings when compiling version 20180408.203:

In ztree-diff-ediff-before-setup-hook-function:
ztree-diff.el:241:9:Warning: assignment to free variable
    ‘ztree-diff--ediff-previous-window-configuration’

In ztree-diff-ediff-quit-hook-function:
ztree-diff.el:250:29:Warning: reference to free variable
    ‘ztree-diff--ediff-previous-window-configuration’

In toplevel form:
ztree-view.el:189:1:Warning: Unused lexical variable ‘cur-pos’

In ztree-scroll-to-line:
ztree-view.el:205:17:Warning: reference to free variable ‘offset’

In end of data:
ztree-view.el:795:1:Warning: the following functions are not known to be
    defined: when-let, offset, incf
fourier commented 6 years ago

Supposedly fixed in last commit.

rchar01 commented 6 years ago

Two compile warnings left:

In toplevel form:
ztree-view.el:190:1:Warning: Unused lexical variable ‘cur-pos’

In end of data:
ztree-view.el:796:1:Warning: the function ‘incf’ is not known to be defined.
fourier commented 6 years ago

Please check it out now.

rchar01 commented 6 years ago

Now there are no warnings. Thanks.