title: "variable declared and not used" compilation error
body: <p>I am learning Google's new language <a href="http://golang.org/" rel="nofollow noreferrer">Go</a>. I am just trying stuff out and I noticed
  that if you declare a variable and do not do anything with it the go compiler (<em>8g</em> in my case) fails to<br>
  compile with this error: <code>hello.go:9: error declared and not used</code>. I was suprised at this since most language compilers just <strong>warn</strong> you about unused variables but still compile.</p>
  
  <p>Is there anyway I can get around this? I checked the documentation for the compiler and I don't see anything that would change this behaviour. Is there a way to just delete <code>error</code> so that this will compile?</p>
  
  <pre><code>package main
  
  import "fmt"
  import "os"
  
  func main()
  {
       fmt.Printf("Hello World\n");
       cwd, error := os.Getwd();
       fmt.Printf(cwd);
  }
  </code></pre>