Skip to content

Commit

Permalink
Fix uninitialised variable 'height'
Browse files Browse the repository at this point in the history
This should fix davidrg#419
  • Loading branch information
davidrg committed Nov 26, 2024
1 parent 2e40d5c commit dd46500
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions doc/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ by OpenSSH on modern versions of windows, add the command
have a value as this broke the use of the standard login.ksc script.
* Fixed K95 bug 770: When editing an FTP entry in the dialer the general settings
page doesn't load the port number causing it to be cleared on save.
* Fixed `TYPE` command error "The /HEIGHT switch is not supported without /GUI"
when the `/HEIGHT` switch has not been supplied.

### Other Source Changes
* Fixed a selection of build warnings, and improved compatibility with the
Expand Down
2 changes: 1 addition & 1 deletion kermit/k95/ckuusr.c
Original file line number Diff line number Diff line change
Expand Up @@ -12766,7 +12766,7 @@ necessary DLLs did not load. Use SHOW NETWORK to check network status.\n"
#ifdef OS2
#ifdef NT
#ifdef KUI
int height;
int height = 0;
char guibuf[128], * gui_title = NULL;
int gui = 0;
#endif /* KUI */
Expand Down

0 comments on commit dd46500

Please sign in to comment.