- Version 19FEBpl1.1:
+ Only code fixes and updates for help files have been
incorporated into this Midas release.
- Add patch no-return-statement.patch: fix build for Factory.
Warnings as errors break the build at no return statement in non
void function.
- Add patch end-of-non-void-function.patch: fix build for Factory.
Warnings as errors break the build at control reach end of non
void function.
OBS-URL: https://build.opensuse.org/request/show/750412
OBS-URL: https://build.opensuse.org/package/show/science/eso-midas?expand=0&rev=25
20 lines
570 B
Diff
20 lines
570 B
Diff
Index: midas/19FEBpl1.1/prim/edit/libsrc/edtcommand.c
|
|
===================================================================
|
|
--- midas.orig/19FEBpl1.1/prim/edit/libsrc/edtcommand.c
|
|
+++ midas/19FEBpl1.1/prim/edit/libsrc/edtcommand.c
|
|
@@ -293,12 +293,12 @@ int edt_shstat()
|
|
return (NULLACTION);
|
|
}
|
|
|
|
-static int resetwindow()
|
|
+static void resetwindow()
|
|
{
|
|
if (edt_status != COMMAND) RemoveWindow(dialogue_window);
|
|
}
|
|
|
|
-static int setwindow(prompt)
|
|
+static void setwindow(prompt)
|
|
char *prompt;
|
|
{
|
|
if (edt_status != COMMAND) ClearWindow(dialogue_window),
|