Permalink
Browse files

Fix compiler warnings

  • Loading branch information...
1 parent d99c4b0 commit bd0e1a2a0dd2edee7911eeaa8a40f07561d0880e @rolfbjarne rolfbjarne committed Jan 18, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −3 MonkeyWrench.Web.UI/ViewTable.aspx.cs
  2. +0 −2 MonkeyWrench.Web.WebService/Download.aspx.cs
@@ -193,7 +193,7 @@ public string GenerateHeader (DBLane lane, DBHost host, bool horizontal)
class TableNode {
public string text;
public string @class;
- public string style;
+ //public string style;
public bool is_header;
public TableNode (string text, string @class, bool is_header)
@@ -371,11 +371,12 @@ public string GenerateLaneTable (GetViewTableDataResponse response, DBLane lane,
matrix.Append (node.@class);
matrix.Append ("'");
}
+ /*
if (node.style != null) {
matrix.Append (" style='");
matrix.Append (node.style);
matrix.Append ("'");
- }
+ }*/
matrix.Append (">");
matrix.Append (node.text);
matrix.Append ("</");
@@ -397,11 +398,12 @@ public string GenerateLaneTable (GetViewTableDataResponse response, DBLane lane,
matrix.Append (node.@class);
matrix.Append ("'");
}
+ /*
if (node.style != null) {
matrix.Append (" style='");
matrix.Append (node.style);
matrix.Append ("'");
- }
+ }*/
matrix.Append (">");
matrix.Append (node.text);
matrix.Append ("</");
@@ -234,7 +234,6 @@ private void DownloadNamedWorkFile (int work_id, string filename)
{
DBWorkFileView view = null;
DBFile file = null;
- string mime;
string compressed_mime;
using (DB db = new DB ()) {
@@ -254,7 +253,6 @@ private void DownloadNamedWorkFile (int work_id, string filename)
if (file == null)
throw new HttpException (404, string.Format ("Could not find the filename '{0}'", filename));
- mime = file.mime;
compressed_mime = file.compressed_mime;
Response.ContentType = file.mime;

0 comments on commit bd0e1a2

Please sign in to comment.