Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

removed some warnings

  • Loading branch information...
commit 79fc384d8bff9c940fcd6e8f33ce2281b85e242c 1 parent d395e30
Frederic Ye Aqua-Ye authored
2  src/dropbox.opa
@@ -135,7 +135,7 @@ Please re-run your application with: --dropbox-config option")
135 135 match (segs) {
136 136 case []: []
137 137 case ["." | xs]: aux(xs)
138   - case [x, ".." | xs]: aux(xs)
  138 + case [_x, ".." | xs]: aux(xs)
139 139 case [x | xs]: [x | aux(xs)]
140 140 }
141 141 }
2  src/facebook.opa
@@ -104,7 +104,7 @@ Please re-run your application with: --fb-config option")
104 104 outcome = FbGraph.Post.feed(feed, creds.token)
105 105 response =
106 106 match (outcome) {
107   - case {~success}: <>Successfully published Facebook feed item: «{feed.message}»</>
  107 + case {success:_}: <>Successfully published Facebook feed item: «{feed.message}»</>
108 108 case {~error}: <>Error: <b>{error.error}</b>; {error.error_description}</>
109 109 }
110 110 Service.respond_with(response)
2  src/twitter.opa
@@ -80,7 +80,7 @@ Please re-run your application with: --twitter-config option")
80 80
81 81 private function authenticate() {
82 82 match (TWA.get_request_token(redirect)) {
83   - case {~error}:
  83 + case {error:_}:
84 84 Service.respond_with(<>Twitter authorization failed</>)
85 85 case {success: token}:
86 86 auth_url = TWA.build_authorize_url(token.token)
2  src/webshell.opa
@@ -113,7 +113,7 @@ function page(cmd) {
113 113 }
114 114
115 115 function connect(connector, raw_data) {
116   - connector(Text.to_string(raw_data))
  116 + _ = connector(Text.to_string(raw_data))
117 117 Resource.default_redirection_page("/")
118 118 }
119 119

0 comments on commit 79fc384

Please sign in to comment.
Something went wrong with that request. Please try again.