diff options
author | Björn Gustavsson <[email protected]> | 2013-01-24 11:53:52 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-01-24 11:53:52 +0100 |
commit | 21c1b8261c5cc39515de8ff65e4fa9a9405e1399 (patch) | |
tree | 5d21008e429f910f51f8684a02e5a748925dd5dc /lib/runtime_tools/src | |
parent | e5de0874b9f924b2007233bbfd2df9c361141eea (diff) | |
parent | 13dc75d665058fea45d8bf33dff785049903cfd9 (diff) | |
download | otp-21c1b8261c5cc39515de8ff65e4fa9a9405e1399.tar.gz otp-21c1b8261c5cc39515de8ff65e4fa9a9405e1399.tar.bz2 otp-21c1b8261c5cc39515de8ff65e4fa9a9405e1399.zip |
Merge branch 'bjorn/warnings-zero-tolerance'
* bjorn/warnings-zero-tolerance:
Turn warnings to errors on selected applications
runtime_tools_sup: Eliminate warning
inet_parse: Eliminate a compiler warning
Diffstat (limited to 'lib/runtime_tools/src')
-rw-r--r-- | lib/runtime_tools/src/Makefile | 3 | ||||
-rw-r--r-- | lib/runtime_tools/src/runtime_tools_sup.erl | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/runtime_tools/src/Makefile b/lib/runtime_tools/src/Makefile index 53b9ce34e4..9809004638 100644 --- a/lib/runtime_tools/src/Makefile +++ b/lib/runtime_tools/src/Makefile @@ -68,7 +68,8 @@ EXAMPLE_FILES= \ ERL_COMPILE_FLAGS += \ -I../include \ -I ../../et/include \ - -I ../../../libraries/et/include + -I ../../../libraries/et/include \ + -Werror # ---------------------------------------------------- # Targets diff --git a/lib/runtime_tools/src/runtime_tools_sup.erl b/lib/runtime_tools/src/runtime_tools_sup.erl index 264e172a3c..e8ea08ec97 100644 --- a/lib/runtime_tools/src/runtime_tools_sup.erl +++ b/lib/runtime_tools/src/runtime_tools_sup.erl @@ -34,7 +34,7 @@ %% The runtime tools top most supervisor starts: %% -The ttb_autostart component. This is used for tracing at startup %% using observer/ttb. -init(AutoModArgs) -> +init(_AutoModArgs) -> Flags = {one_for_one, 0, 3600}, Children = [{ttb_autostart, {ttb_autostart, start_link, []}, temporary, 3000, worker, [ttb_autostart]}], |