defmodule HelloWorldWebServer do
  def start(port) do
    args = [
      bind_address: 'localhost',
      port: port,
      ipfamily: :inet,
      modules: [__MODULE__],
      server_name: 'Hello World',
      server_root: '.',
      document_root: '.'
    ]
    :inets.start(:httpd, args, :stand_alone)
  end

  def unquote(:do)(data) do
    {:proceed, [{:response, {200, 'Hello, World!'}}]}
  end
end

defmodule HelloWorldWebServer do
  def start(port) do
    args = [
      bind_address: 'localhost',
      port: port,
      ipfamily: :inet,
      modules: [__MODULE__],
      server_name: 'Hello World',
      server_root: '.',
      document_root: '.'
    ]
    :inets.start(:httpd, args, :stand_alone)
  end

  def unquote(:do)(_data) do
    {:proceed, [{:response, {200, 'Hello, World!'}}]}
  end
end

Fix a warning about unused data
Fix a warning about unused data

DNNX/badging